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
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.
> ...
! - 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
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
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
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
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.
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
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
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
>
>
> >
> >
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
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
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
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
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
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
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
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
18 matches
Mail list logo