PHP is a widely-used general-purpose server side scripting language that is especially suited for web development. The current STABLE version is 5.4.3, released on May 8, 2012. The latest development changes can be found at: Current branch of PHP 5.4 See also the UPGRADING and ...

learn more… | top users | synonyms (1) | php jobs

0
votes
0answers
14 views

Is $_SERVER['REQUEST_METHOD'] guaranteed to be uppercase?

I've currently got strtoupper($_SERVER['REQUEST_METHOD']) in my code. But is the strtoupper call necessary? Is $_SERVER['REQUEST_METHOD'] guaranteed to be uppercase already?
0
votes
0answers
5 views

Update to eregi() resulting from deprecation

I have to update a line of code that is deprecated as a result of going from PHP 5.2.x to 5.3.x The code line is: if (eregi('Itemid=[0-9]+', $string) === false) { Does anyone know what the new ...
0
votes
0answers
8 views

App visible to only test users not User

I have developed an app in which it posts a photo to users wall. It was working before some 10 days, But now the main problem is that the app canvas doesn't loads it gives me this error in browser - ...
0
votes
0answers
9 views

Custom lightbox, next button wont work more than once

My gallery has thumbnails which all have a corresponding larger images with the same name, I linked each thumb to its larger image dynamically using php. Then i used jQquery to display the bigger ...
0
votes
0answers
5 views

How to restrict the commentreply.js in the home page of the theme in wordpress?

How to restrict the commentreply.js in the home page of the theme in wordpress ? for increasing my y-slow grade i need to restrict this js? any suggestions
0
votes
2answers
28 views

index.php should not show up on the url like facebook?

I have noticed the facebook site showing up url like http://www.facebook.com/?sk=nf what i understand is there must be a index file = index.php which is working based on the GET variable sk to get ...
0
votes
1answer
30 views

Adding,removing array elements and accessing via php

I have the following codes. Each time a user click on a photo, its title is pushed into an array. If he clicks again, the title is removed. I want to be able to access the array later on with php so i ...
-8
votes
1answer
22 views

Is there no one who can solve my MySQL error? [closed]

Possible Duplicate: Getting MYSQL ERROR from my site I have hosted a bux site CrimsonBux.Com. Everything is working fantastic with the script. I have only one problem with Password Recovery ...
0
votes
2answers
9 views

mysql database update and codeigniter rows affected function

I am using this function this codeigniter function after update query $this->db->affected_rows(); it returns number of rows affected if i update values, but if i update values with the same ...
-1
votes
0answers
9 views

Audio library for PHP free for commerial usage

Im looking for some audio library for PHP that: -can remove noise from wav -can remove empty spaces at start and end of audio -then save it as ogg or mp3 Is there any good lib for these things?
0
votes
0answers
10 views

PDO doesn't work. I can't access sqlite3 file from PHP.

I use php+ apache on Fedora 16 fc16.x86_64. I'm learning php and sqlite3 (using PDO). But my code doesn't work whatever. <?php try { $db = new PDO('sqlite:./z4.db'); ...
0
votes
3answers
19 views

convert days to year(s), month(s), day(s) in MySQL

I am doing financial project. I am trying to get the date and time duration between the Loan taken and Paid date. I used php mathematical calculation but I found it is not accurate. Please help me if ...
-3
votes
0answers
8 views

pin images using jquery in a form and get the values in the next page?

Let us consider one example that, there is bunch of images in a form. And when user clicks on the images it needs to be pinned and after clicking on next button I need to get the clicked items. can ...
0
votes
3answers
16 views

PHP zero float returning true

I have a field in my mySQL db table of type decimal (15,4) I've never experienced this before but if the value is 0.0000 my PHP if statement is returning true! As a sanity check I even did: ...
0
votes
0answers
15 views

PHP read line and delete the line

i have a php code to read line by line a txt document. I want after read the line delete the line. here is the code. $in = fopen('emails.txt','r'); while($kw = trim(fgets($in))) { //do something ...

1 2 3 4 5 15321
15 30 50 per page