PHP not being read? What would cause a machine not to read/process php? I have a laptop that I have been ever increasing using for php scripting. I decided to do a simple experiment, it started out something like: $seconds=1; $minutes=$seconds*60; $hours=$minutes*60; $days="$hours*24; echo $seconds; echo $minutes; echo $h... 25 Apr 2010 20:06
Question: Farsi characters showing as jibberish Hi, I have created a PHP file, and wrote a string of Farsi letters in it. In the head section of the HTML, I put: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> There appears to be something wrong with Apache, or something, because no matter whether I put that string in an echo stateme... 24 Apr 2010 11:42
Problem with pg_prepare function Hi all. I'm receiving the following message when I try to use pg_prepare() function: "Call to undefined function pg_prepare()". My application works very well with others pg_* commands... I already checked my configuration files and I have no more ideas about how to fix it. Any suggestions? Thank y... 23 Apr 2010 23:21
Remote Key Question Hi gang: A few times I've found myself confronted with a problem that might be better solved than the way I currently solve it. I would like your opinions/solutions as to how you might solve this. Here's the given (as an article/author example). I want to create a list of articles in a database. The art... 23 Apr 2010 12:52
creating a PHP wrapper script? i'm sure this isn't hard to do, but i'm having end-of-week brain cramps. just now, i installed a PHP package that lets me download thumbnails of image files stored on a server -- the URL to generate and download a thumbnail is, say: http://server/d1/d2/thumbnail.php?fileID=whatever&arg1=val1&arg2=val2 and... 25 Apr 2010 17:51
htmlentitites ENT_QUOTES in HTML attributes? Hi List, I just figured, that the Browsers on my system do interpret ' inside href or onclick attribute as a plain '. Imagine the user input is the following line: param2" foo';);alert(document.cookie);alert(' Which is being written by the script like that: <a href="javascript:void(0);" onclick="te... 24 Apr 2010 10:33
Structured PHP studying Is there a good strategy to studying PHP? For instance, is there a way to break everything down into small managable topics? -- Blessings, David M. ... 25 Apr 2010 09:56
PHP can't find OCI.dll Hi, I have just installed PHP and Oracle 11.2 on a new server but I get an error message when I try to run php from the command line saying "This application has failed to start because OCI.dll was not found". I have checked that the ORACLE_HOME environment variable is set correctly and have included the ORACLE_HO... 23 Apr 2010 05:33
Replace a space with a newline every 2 spaces Ex: "This is the string and it is this long" This is the string and it is this long I found some long functions to achieve this but I couldn't help but think that it could be done in a couple lines. Possible? Thanks. ... 22 Apr 2010 21:59
Math Question.... Howdy, This is a math question, but I'm doing the code in PHP, and have expunged all resources... hoping someone can guide me here. For some reason, I can't figure this out. I want to take a group of items, and divide them into equal groups based on a max per group. Example. 1,252,398 -- divide into equal... 23 Apr 2010 11:49 |