Forums Page 58
-
How to search for several parameters from objects in a database?
I have a database with lots of information about objects. Now I would like to search for 4 or 5 parameters at the same time (from a form) like this…
-
Storing/displaying image urls in a database?
Hi Basically I have the following scenario: User chooses picture from list. Picture info is added into the db, including url. However I can't figure…
-
Parse error: syntax error, unexpected T_ELSEIF in /home/......html/item.php on l
I do not know what is wrong with this. Hope some one can help. I do nto want to post the entire site because it is to long. However, here is the few…
-
FTP issues
Hi all, I am currently facing some serious problems with a script and really need some advise before I am actually sick To give you a brief overview…
-
Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10. How can i get a drop down list to pull these numbers from the…
-
preg_match logical error
Code: <?php $s = file_get_contents("page.html"); preg_match('/<div class="brown_box main_ge_page vertically_spaced"><div…
- Advertisement
-
if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough to do, but I'm flailing here... I need to have a…
-
Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to change the font and font size. Is there anyone…
-
Need help adding a timestamp to my filename/variable
Hello, I'm kind of stupid when it comes to php and I need a tiny bit of help. I've got a form/php setup that allows a user to upload an image to my…
-
If statement help please.
Hello on my site I have 2 content boxes. 1 is for the main content (which is the biggest one) and the second one is for a sub navigation (which is a…
-
Access database inside of a validation class
Hello, For quite some time, I have been using functions to validate form input and access the databse. I have recently started using OOP, which is…
-
BIG file upload!
Hey guys! I'm trying to upload a file, it works well with smaller files but with 60mb+, I get a POST size error even though I've raised POST max…
-
check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it to be posted. this is my current php, any help…
-
check if string contain only a-z/A-Z
Is where any way to check if string contains only a-z/A-Z, without writing an array with all possible letters and then looping it. Code: $available =…
- Advertisement
-
Is there a way to override built in php functions without APD?
I am trying to use the rename_function() override_function() options that are built into the APD php extension. But I don't want to rely on that…
-
Help with syntax
Hi all! The $bridge variable is not getting passed while it is contained in the line below: Maybe I don't have the right brackets around it? I want…
-
Interpret Order
Hello all, I'm wondering if I have this: Code: $switch = array( 'one' => $this->RenderOne() ,'two' => $this->RenderTwo() ); Would php…
-
Streaming local file from PHP while it’s been written to by a CURL process
I am creating a simple Proxy server for my website. Why I am not using mod_proxy and mod_cache is a different discussion. Here's the code…
-
Calculating a rating by adding number of points and dividing by number of items
I have a site that users can post links to files to download. They can rate these files on a 1-5 scale. I had someone make a Top Rated section for…
-
$variable = $variable
Hello Sorry if this is a really simple question but I have run out of ideas. Is there a really simple way of doing the following: $animal_dog =…