Hi All,
I'm running a script that reads the contents of images and stores them
in a MySQL database. The problem I'm running into is that my server is
seeing "\" as escape characters and stripping them out. I assume this
has something to do with "Magic Quotes" or something of that nature but
I
What about using a MySQL database? Insert the picture into a field in
a table, then use a php script to call the data. I've been working on
something like this. Is it practical, or am I barking up the wrong
tree?
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent:
Ok, here's what I've got and it's driving me insane. What I want to do
is take a tracking number and grab the tracking data from the UPS web
site. I have a couple of questions though
First of all, does anyone know if this is against UPS' TOS? I read it
but I didn't really see anything, o
Yes, theoretically...you could require it to be posted data. In order
to do this you would have to make sure "registered_globals" is set to
"off" in your php.ini and then for each variable posted from your form
you will need to do something like this
$name=$_POST["name"];
This will only p
How would one go about doing this?
-Original Message-
From: Dan Hardiker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 8:44 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Hacker problem
This could still be faked easily with a telnet sessi
Swear filtering is easy, I want to know how to make sure the data is
coming from MY formI'm just picky like that. :-)
-Original Message-
From: Adam Voigt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 8:55 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Ha
So we aren't actually validating "where" the data is coming from, we
are just validating the data?
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 8:57 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Hacker problem
if(st
Thanks! That's all I needed to know.
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 9:04 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Hacker problem
That's just not possible.
[EMAIL PROTECTED] wrote:
Swear filteri
Why don't you just leave them in https? Is this a performance issue?
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 9:07 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] http->https->http redirection causes browser to sho
Ok, here's what I got. I'm trying to create an entire site that grabs
all it's information (Page content, titles, link info, etc.) from a
MySQL database. In this site I would like to have sub pages of master
pages. For instance, Page 1 is a master page, Page 2 is a sub page of
Page 1, and Pa
Yes, my apologies. I call the script by scriptname.php?MasterPage=1 or
2 or whatever...
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 4:45 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Loop Problem
[EMAIL PROTECTED] wro
Try str_replace(chr(39),..
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 2:23 PM
To: DomIntCom
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] can't make str_replace work with single quote
works for me:
echo str_replace('2003','2002', "'2003
I agree...and like John said, as long as you don't accept any changes
when you process the form you should be good to go...
-Original Message-
From: Tim Burden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 2:25 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Checkbox
Just using
Yeah...check out the phpinfo() function on your machine
-Original Message-
From: Liam Gibbs [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 3:36 PM
To: php list
Subject: [PHP] Humour in programming?
Sorry if this is OT, but... heheheh... has anyone taken a look at the
PHP
Yeah, same thing happened to me last year. I was freaking out, thought
my box had been hacked. Then it hit me...April Fools day...
-Original Message-
From: Aaron Gould [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 3:37 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTEC
By PHP? The HTML source points to
my.server.com/script.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 3:43 PM
To: Aaron Gould; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: R
It's really funny that this happened because not more than one week ago
I was discussing the professionalism of this list with one of my
co-workers. I've been very happy with it, but I remember when I first
joined it I asked a pretty dumb question and got slammed by a bunch of
people because i
I know this is OT, but I caught a story somewhere about the American
Embassy in Nigeria actually having to REGULARLY rescue Americans who go
over there to claim their moneythat's just sad.
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003
Ok, here's what I have. I want to insert some values into a table with
an auto_increment field, but I want to get the Serial of the record I
just inserted so I can name an image $Serial.jpg. I could just select
the serial of the last record entered but what happens (and I know it's
unlikely b
Wonderful! Thanks!
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 8:18 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL Insert with Auto-Increment
use mysql_insert_id(), it keeps its value per connection so you don'
What happens when the refresh? How about this...when the form loads
the first time it generates a unique_id, and when you submit the form
it has to match that unique_id. That would stop people from being able
to refresh because once the unique_id is submitted, it won't accept any
more submiss
I'm curious about the same thing. RedHat 7.2 with default IMAP.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 10:06 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Creating mail account on Linux server
On Tuesday 07 May 2002 22:02, Rosen wrote:
I can create the popuser account, but my problem comes with setting the
password. I realize that when you do a "useradd" command you can
specify a -p option for password, but it hasn't worked for me. Is
there a better way then calling system commands?
-Original Message-
From: Jason W
Ok, so it's a bad idea :-) I'm aware of the security risks I'm dealing
with here, but thanks to all those who gave me some ideas to go with.
This WILL NOT be on a production machine, it's on my internal network
and I'm just playing with it to see what I can do. Have a nice day and
thanks to
Or you could set up an automated "IMAP Account Creater." That should
pretty much take care of things from the way things sound around
here:-)
-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 11:15 AM
To: PHPCoder; php-general
Subject: RE: [
What are some benefits to using output buffering versus just letting it
generate as it goes?
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 1:24 PM
To: PHP-general
Subject: Fw: [PHP] uh, oh errors?
Don't feel bad about this. This is someth
You could try something like this(did not test)
");
print (" $count $user\n");
print ("");
-Original Message-
From: Chris Grigor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 9:48 AM
To: [EMAIL PROTECTED]; Php-General-List (E
27 matches
Mail list logo