August 16, 2006 at 11:13 pm
· Filed under Linux, PHP Community
how do i have if a ?color=red in the url make it so it only executes < ?php echo " $tex “;
Tuu: check $_GET['color']
i know
what funcution could i use to echo wee in http://www.1bppbird.net/index.php?page=wee
with a link like http://domain.com/wee.php?tex=echothis how do i echo with php “echo this”
Read the rest of this entry »
Permalink
August 14, 2006 at 10:57 am
· Filed under PHP Community
hey can anyone help me figure out what is wrong with this line?
foreach ($status as $key => $value) $content .= “{$value}”;
what is happening?
its printing selected six times
and not printing the option tag even once
($row['status']==$key ? ” selected” : “” )
ok thanks
Permalink
August 14, 2006 at 10:55 am
· Filed under Linux, PHP Community
I believe there is a bug in strtotime
Can someone please verify this for me
I’m trying to get last month
echo date(“F j, Y”, strtotime(“-1 month”) );
it escapes ” ‘ and \ and NUL
what did it return for you?
Read the rest of this entry »
Permalink
August 12, 2006 at 9:45 pm
· Filed under Linux, PHP Community, Uncategorized
any1 know how to create a site for internet radio? dj functions/admin/forum etc?
wirewire try shoutcast with some CSM like Mambo?
or a phpBB forum
CSM?
Read the rest of this entry »
Permalink
August 12, 2006 at 9:42 pm
· Filed under PHP Community
Anyone know how i can stop POST’ing forms to a .php file?
I would like to parse the data using php://input.
I’m trying to build a live counter when files are uploaded.
Read the rest of this entry »
Permalink
August 10, 2006 at 10:21 pm
· Filed under Linux, PHP Community
i tried running wget on my php config file from a different server, and it doesn’t download the file… even though the permissions on it are -rw-r–r– .. which would mean an ‘other’ person can read it, but how?
or am i misunderstanding the read attribute
Read the rest of this entry »
Permalink
August 10, 2006 at 10:20 pm
· Filed under Linux, PHP Community
how do I overwrite file when $file_exists ?
just fopen it in the right mode
or unlink it first
right mode?
Read the rest of this entry »
Permalink