I have a form to collect some user information. First name, Surname, email, twitter username. On submit i want to use the twitter API to grab the users twitter avatar and store it in a DB alon...
Hello experts,
This is my first foray into multidimensional arrays. Can someone tell me what is the best way to store values in a multidimensional an array in a database. For single arrays ...
I have an array that looks like what's posted below, and I'm trying to figure out how to group that array based on [name], so that it looks like what I've posted at the bottom of the code? I'...
I am trying to insert a record into a table for Wordpress that has double quotes in the record. It should appear just like the following in the database:
a:1:{s:10:"subscriber";b:1;}
Ho...
Hello guys I'm new to web development and I have a question about user login timeout, below is my question:
Environment:
I am constructing a game website which has several tabs on top o...
I have an if statement
if ($hide_status->fields['visibility_status'] < 1) {
I need to add some checks to this if statement and I have an array of ids.
$group_categories = unse...
Hello Experts,
I have a test application which populates a HTML table with both the questions and answers from an associated test. I am working on the code to have my pages paginate and to...
Hello everyone
I've found several search scripts and none of them seem to work for me I get several errors when trying to implement them.
Here's what I want to do. I'm using MySQL and P...
I repeatedly get a memory size related fatal error error when trying to access the administrative area of a CMS.
Would it be a bad idea to double the allowed memory limit?
Since register_globals is turned off by default in PHP 5, I am curious if the following line would not work:
global $_POST
Will the code above work in PHP 5 with register_globals turned off?
Hello experts,
I'm counting words sent via a form. It works but not not when there is a line break. For example if I type in
------------
Hello
How are you?
I am good.
------------...
Hi Experts!
I've searched just about everywhere to figure this out, and am having absolutely no luck.
I have a password protected section on a client's site, and once they are logged in,...
Hi,
How can I get requested headers from the server with cURL ?
I mean, When I posted something with FireFox, my plugin brought me these headers:
POST /central/user/sender_id/do_add.p...
In the following code, the executed SQL query retrieves a column "Searchable" along with other column values.
The column "Searchable" can have value either 0 or 1. In the HTML code below th...
I have to make study to change my windows environment to linux fedora environment for my web development. I am not sure what are the tools available like window environment ... now, i use the ...
Hi,
Is there a simple way to have PHP generate random rubbish and fill a database with it?
I want to test the stability of a database server which seems a bit jammy at times... Maybe a m...
Hi, I need to do a foreach but with two separate variables. such as in the example below, but this isn't looping correctly...
It's giving all the company names, the first phone number, then...
Hello,
Im looking for a solution for the following issue:
I have customernames in different patterns like:
- [lastname], [firstname] [middlename]
- [initials], [middlename] [lastname]
-...
hi
can anyone tell me why this statement is also entering data into db? i have not run command to do so. the only data that should be entered is from 'File Retrieval'. many thanks
Ive set up a few cron jobs on my godaddy shared linux hosting accnt.
One php script runs create pop3 obj download images from inbox and store them in database according to their subject name....
Hello,
I have a website that contains various movies and I need to show imdb ratings of particular movie. But as far as I know imdb havent made any API for getting movie ratings. is there a...
Programming with PHP
I have downloaded
php-5.3.0-nts-Win32-VC9-x86.msi and installed it.
I need to write a small program and test it. What are the steps to take to accomplish that?
...
I added IniFilePath (see code) but php -info still shows the php.ini path at c:\windows after reboot.
How can I change the ini file path per code?
With Regards-
Sam
Can someone provide an example of how to implement the return true/false feature of the Mail() function in PHP? In other words, once an email is sent, I want to know if the email was actually ...
I am attempting to use cURL to integrate a form into awebber.com, which usually uses it's own dynamically generated forms to signup people to an opt-in list.
I am having a case of user erro...