[PHP] URLencode issues - halp!

2003-01-23 Thread SpyProductions Support Team
I am having some issues, apparently, with URL encode. I've got people signing up for a membership on a site, but some of their memberships fail because the username, which in encoded, sometimes goes through fine and sometimes does not. Are there any special reasons this may happen? I decided to

RE: [PHP] URLencode issues - halp! - code included

2003-01-23 Thread SpyProductions Support Team
ursday, January 23, 2003 3:31 PM > To: PHP General list > Cc: SpyProductions Support Team > Subject: Re: [PHP] URLencode issues - halp! > > > Mike -- > > ...and then SpyProductions Support Team said... > % > % I am having some issues, apparently, with URL encode. > ...

RE: [PHP] URLencode issues - halp! - code included

2003-01-23 Thread SpyProductions Support Team
! - code included Take the $name = urldecode($name);bit out. The decoding is all handled by PHP before your script runs. Also, you should look into using $_GET['name'] instead of $name. SpyProductions Support Team wrote: Here is some code: >From a form, I get username as $nam

[PHP] while loop- will this work?

2003-01-30 Thread SpyProductions Support Team
Should this work? $f1 = rand(999,999); while($check_sid = mysql_query("SELECT * FROM that_table WHERE this = '$f1'")){ $f1 = rand(999,999); } i.e. put the random number in a loop to check and make sure it is already not in use? Thanks, -Mike -- PHP Gene

[PHP] PHP vs. CGI

2003-03-05 Thread SpyProductions Support Team
Does PHP use less system resources than CGI on a server? I have a bulletin board which is incredibly active, but there is a PHP sister to it. Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP files processing with Apache

2003-08-21 Thread SpyProductions Support Team
Does anyone know how to get apache to process ALL files for php? What would the settings be in a Virtual Host listing (or a plain host listing for that matter)? Thanks! :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] header(); Issue

2003-06-19 Thread SpyProductions Support Team
I have this in a script: header("Location: $Relative/outstanding.php?pdd=1&pddid=$poid"); It works fine elsewhere in the script without the variables. Does anyone know if php 4.06 has issues with this? Or am I making a boneheaded mistake here? $Relative is from an include, and outputs fine.

[PHP] Handling a BLOB (zip file) called from MySQL

2003-10-31 Thread SpyProductions Support Team
I am trying to figure out how to best handle a record that contains a zip file (BLOB) in MySQL. When I call it out from the table, is the best way to handle the file by writing it to a temporary directory? The BLOB represents a '.zip' file, so should I be using: zip_open /zip_read / zip_close w

[PHP] PHP and CGI

2002-02-12 Thread SpyProductions Support Team
I did some research in the archives on this, but couldn't come up with a straight answer. I have a CGI script that uses and HTML template/form. I would like to embed a PHP script in the template to take some of the values of the CGI and put them in a database. I set up the database, wrote the

RE: [PHP] PHP and CGI

2002-02-12 Thread SpyProductions Support Team
I > > > is your file extension .php? > hugh > ----- Original Message ----- > From: "SpyProductions Support Team" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 12, 2002 11:25 AM > Subject: [PHP] PHP and CGI > > > > > >

RE: [PHP] PHP and CGI

2002-02-12 Thread SpyProductions Support Team
ehow > "include" > a .php file in your script? > - Original Message - > From: "SpyProductions Support Team" <[EMAIL PROTECTED]> > To: "hugh danaher" <[EMAIL PROTECTED]>; "php" > <[EMAIL PROTECTED]> > Sent: Tue

[PHP] PHP not parsed in HTML

2002-02-12 Thread SpyProductions Support Team
Hhere's another humdinger of a question: I am with a hosting company that doesn't want to parse PHP in HTML files because they are afraid it will slow down their server(s) too much. So. I really like them and don't want to move the site if I don't really *have* to. There are some neat

[PHP] PHP & GD Library

2002-02-13 Thread SpyProductions Support Team
I installed and recompiled PHP on my Apache server with the GD libs as well as zlib and png libs. I have a test script from the GD web site, but it doesn't seem to work. The test script is at: http://www.spidermanzone.com/testgd2 And runs at: http://www.spidermanzone.com/testgd2.php The php

[PHP] PHP & GD - Nevermind! Thanks!

2002-02-13 Thread SpyProductions Support Team
Thank you to anyone looking into my question, but it is moot; seems the two scripts I was given initially are just buggy. I found one that isn't, and it works fine. Anyone have any idea what would be a practical application of GD nowadays? Doesn't seem to be practical to me. -Mike -- P

[PHP] Unusual Form situation?

2002-02-27 Thread SpyProductions Support Team
I have form I am working with and trying to add some PHP processing to the form's contents. The form is a html template used by a CGI script. So, instead of having a 'submit' button for the form's content, there is a GIF. The CGI apparently reads the GIF as a button to submit the form's conten

RE: [PHP] Unusual Form situation?

2002-02-27 Thread SpyProductions Support Team
t; > If the image was clicked, this will submit your form, and both $myimage_x > and $myimage_y will be set. > > HTH > > Sam Masiello > Software Quality Assurance Engineer > Synacor > (716) 853-1362 X289 > [EMAIL PROTECTED] > > > - Original Message - &g

[PHP] PHP and Pay Flow Pro

2002-03-12 Thread SpyProductions Support Team
I am about to build a script in PHP for a user to submit a credit card transaction through Verisign's Pay Flow Pro. Is there some sort of module I need installed first before I use PHP for this? Does anyone know of a script around to use as an example, or for that matter, a free one already don

[PHP] Keeping PHP out?

2002-03-27 Thread SpyProductions Support Team
Does anyone know if there is such a thing, maybe by writing in perl or even writing in a configuration file, as keeping PHP out of a certain directory or directory structure? I'm trying to figure out why PHP is not working in one of my directories; I can tell you there is a good amount of perl/c