Re: [PHP] way to write mysqli result set to disk

2006-01-25 Thread PHP Superman
couldn't you serialize the data and store it? On 1/25/06, David Hall <[EMAIL PROTECTED]> wrote: > > James Benson wrote: > > jonathan wrote: > >> hmm is this a mysql 5 feature. could be interesting but haven't > >> heard much about it. > >> > > > > > > > > You cannot see the mysql 5 plastered a

Re: [PHP] PHP not seeing MySQL functions

2006-01-24 Thread PHP Superman
ah sorry, i assumed windows box On 1/22/06, John Nichel <[EMAIL PROTECTED]> wrote: > > PHP Superman wrote: > > did you uncomment the line that adds the proper php > > module(mysqli_blahblahblah.dll)? > > How would loading the mysqli modules help the poster with

Re: [PHP] PHP not seeing MySQL functions

2006-01-22 Thread PHP Superman
did you uncomment the line that adds the proper php module(mysqli_blahblahblah.dll)? On 1/16/06, Jonathan Duncan <[EMAIL PROTECTED]> wrote: > > I just got a new web server with RedHat Enterprise Linux 4 on it. It came > with MySQL 4.1.x and PHP 4.3.9 on it. I uninstalled the MySQL 4 and put > My

Re: [PHP] security of uploaded gif files

2006-01-22 Thread PHP Superman
sorry guys if i'm wrong, but if you have the required gd library, and a user changes the above to exec(); a command, you might be in trouble, i might be wrong though... but if you successfully hide the directory and dont tell the user where he placed the file i think it would be pretty secur

Re: [PHP] security of uploaded gif files

2006-01-22 Thread PHP Superman
i think you guys are talking about the using the gd library, it may be possible so when you upload check for any php code or other data On 1/22/06, Rory Browne <[EMAIL PROTECTED]> wrote: > > I'd be a bit skeptical about the possibly of embedding PHP code inside > a GIF file. Could you outline how

Re: [PHP] Access Client IP address

2006-01-14 Thread PHP Superman
$_SERVER['REMOTE_ADDR'] will give you the proxy ip if they have one, and the browser sends the info, the user might change it to blahblahblah for all we know... On 1/4/06, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > [snip] > Is there any way to client's IP address inside a php document. I am

Re: [PHP] input validation?

2006-01-13 Thread PHP Superman
I think the attribute is called maxlength but i'm not sure, oh well add the maxlength attribute to your input tag to have a quick, clean non-javascript-realiant solution On 1/12/06, John Meyer <[EMAIL PROTECTED]> wrote: > > Stut wrote: > > Ok, you're clearly missing my point and while I don't wa

[PHP] Problems requesting page

2006-01-03 Thread PHP Superman
Hey everyone, i'm on a windows box with PHP 5 on Apache 2 and I have a strange problem. When i try to access a page it seems to be blank, before it always worked but now it sudenly stopped. I am not a big computer techy but i cleared IE's cache and it still doesen't work. Source Code in IE for re

Re: [PHP] Variables and Strings

2005-12-29 Thread PHP Superman
s it would also return the Variable Names in an array On 12/29/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > > PHP Superman wrote: > > Hey everyone, is there a way to return all the variables from a string > into > > an array, for example > > $Var1="Yo"; >

Re: [PHP] mysqli class not found

2005-12-29 Thread PHP Superman
/www/cgi-bin/db_connect.php on line 4, > > I added extenstion=mysqli.so to my php.ini > > Erik > > ----- Original Message - > From: "PHP Superman" <[EMAIL PROTECTED]> > To: "Erik Saline" <[EMAIL PROTECTED]> > Cc: > Sent: Wednesday, Dec

[PHP] Variables and Strings

2005-12-28 Thread PHP Superman
Hey everyone, is there a way to return all the variables from a string into an array, for example $Var1="Yo"; $Var2="Man"; $SQL="SELECT * FROM tblname WHERE 4=$Var1 AND WHERE 3=$Var2"; $AllVars=MySpecialFunction($SQL); print_r($AllVars); would ideally print an array like: { array $Var1="Yo" $Var2=

Re: [PHP] mysqli class not found

2005-12-28 Thread PHP Superman
you are not missing anything, you are actually adding to much. Using "new" is for making objects, if you take away the "new" in the $result variable declaration it should work fine. On 12/28/05, Erik Saline <[EMAIL PROTECTED]> wrote: > > > - Original Message - > From: Erik Saline > To: php-

Re: [PHP] Earlier versions hurt PHP 5

2005-12-28 Thread PHP Superman
On 12/28/05, PHP Superman <[EMAIL PROTECTED]> wrote: > > I agree with Greg, if you guys don't care about new versions lets all > downgrade to Pentium 1 computers using dial up, if we don't move from PHP 4 > to PHP 5 now, then when PHP 6 comes with a truckload of n

Re: [PHP] PHP interference in frames

2005-12-22 Thread PHP Superman
I'm taking a wild guess here, maybe the browser insists on waiting for some content but it's maximum content wait time is 5 seconds, the browser could detect the connection to the server is still open and wait for 5 seconds or another time On 12/22/05, Ron Rudman <[EMAIL PROTECTED]> wrote: > > I'v

Re: [PHP] Re: insert to DB

2005-12-22 Thread PHP Superman
PHP might not be sending you an error, are warnings turned on in php.ini? if not turn the on and see if you get any errors On 12/18/05, David Hall <[EMAIL PROTECTED]> wrote: > > > > >if ($_POST["$submit"]) > >{ > > $Name = $_POST["Name"]; > >$Rating = $_POST["Rating"]; > > > >