Re: [PHP] export mysql to excel

2004-05-13 Thread Richard Harb
You could get yourself the mySQL ODBC driver and 'Get External Data' in Excel ... Richard -Original Message- From: CurlyBraces Technologies ( Pvt ) Ltd Sent: Friday, May 14, 2004, 7:18:17 AM > hi , > i want to export data in mysql to excel . but problem is mysql runs in the linux > mac

Re: [PHP] variable passing using URL

2004-05-13 Thread Steve Douville
Capture the variables you've sent to the main frame page and send them via the url of the frames. Hope that helps. - Original Message - From: "gowthaman ramasamy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 2:24 AM Subject: [PHP] variable passing using URL

[PHP] tracking ip and its location

2004-05-13 Thread adwinwijaya
Hello PHP, Is there any function/class to search the location based on ip address ? For example, I got ip 144.xxx.xxx.xxx and it can displaying that IP comes from X country. thxs -- Best regards, adwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Error Passing Command in URL

2004-05-13 Thread Chris Shiflett
--- Dragon <[EMAIL PROTECTED]> wrote: > If I/You try to open the Admin-Sektion ?open=admin > Nothing happens, you will only reload the main view. Use $_GET['open']. It will work. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Han

[PHP] variable passing using URL

2004-05-13 Thread gowthaman ramasamy
hello list, I have a problem in passing variables using URLs. I have a link from a PHP 'Page One' and passing some variables thru URL. This link should now open another page (main frame) which will have two frames in it (left frame and Right frame). But I want the variables to be passed on to the

[PHP] export mysql to excel

2004-05-13 Thread CurlyBraces Technologies \( Pvt \) Ltd
hi ,   i want to export data in mysql to excel .. but problem is mysql runs in the linux machine , How can i get that data from mysql-Linux machine  to windows-Excel machine , plz help asap   thanx in advance curlys -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Normalising Names

2004-05-13 Thread Justin French
On 14/05/2004, at 1:50 PM, John W. Holmes wrote: Justin French wrote: Can someone point me in the direction of a function/library/tutorial on normalising and formatting user-inputted names so that they have the correct capitalisation etc? I remember a discussion about this on the list a while

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-13 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): > --- Curt Zirzow <[EMAIL PROTECTED]> wrote: > > By default php streams the STDIN to a file so your just dealing > > with buffer sized ~2K-4K. enabling this option makes php put the > > contents into memory, thus leaving open the possiblity of someo

[PHP] Re: Webcapture to PDF

2004-05-13 Thread Paul Chvostek
On Thu, May 13, 2004 at 09:59:56AM -0600, Ashley M. Kirchner wrote: > >Looking for a (open source) solution here: is there some way that I > can convert an already existing HTML page to a PDF file, by means of a > script (on a unix box)? Well, http://www.babysimon.co.uk/khtml2png/ will buil

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-13 Thread raditha dissanayake
Chris Shiflett wrote: --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: PHP must read the whole post stream to create $_POST and $HTTP_POST_VARS arrays, and to save file uploads into a temporary files. This happens before the script is executed. Well, there are other scenarios: POST /path/to

Re: [PHP] Normalising Names

2004-05-13 Thread John W. Holmes
Justin French wrote: Can someone point me in the direction of a function/library/tutorial on normalising and formatting user-inputted names so that they have the correct capitalisation etc? I remember a discussion about this on the list a while ago (http://www.phparch.com/mailinglists/msg.php?a

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread Travis Low
Besides checking the browser cookie settings, have one of the affected users turn off the auto-fill form feature, then tell the browser to forget all saved form information. Let us know what happens. cheers, Travis CF High wrote: Re: the browser track, it looks like all adversely affected use

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread CF High
Re: the browser track, it looks like all adversely affected users; i.e. those who can no longer log in, have a browser of I.E. 6.0. I know that in many cases I.E. 6.0 has session and cookie vars disabled by default. Is it possible, a long, long shot, that rand() behaves differently in I.E. 6.0 --

Re: [PHP] Normalising Names

2004-05-13 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): > Hi all, > > Can someone point me in the direction of a function/library/tutorial on > normalising and formatting user-inputted names so that they have the > correct capitalisation etc? > > This will work for MOST situations I'm aware of: > $nam

[PHP] Normalising Names

2004-05-13 Thread Justin French
Hi all, Can someone point me in the direction of a function/library/tutorial on normalising and formatting user-inputted names so that they have the correct capitalisation etc? This will work for MOST situations I'm aware of: BUT, this will not work in the following cases: 1. whe

Re: [PHP] Socket looping challenge

2004-05-13 Thread Curt Zirzow
* Thus wrote Ren Fournier ([EMAIL PROTECTED]): > > MESSAGE RECEIVED > PHP Warning: socket_read() unable to read from socket [35]: Resource > temporarily unavailable in /Users/rene/Sites/gpspolice/titan/cr.php on > line 61 This error [35] will occur if the socket isn't ready yet. Its an EAGA

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread CF High
password field is char (32) Strange that the usernames are all properly set to the submitted email address, but the password is not properly updated. Correct me if I'm wrong here, but $plain_pass = rand(); /* plain pass should be a random # */ md5($plain_pass); /* plain pass is a random # here a

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-13 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > PHP must read the whole post stream to create $_POST and > $HTTP_POST_VARS arrays, and to save file uploads into a temporary > files. This happens before the script is executed. Well, there are other scenarios: POST /path/to/script.php HTTP/1.1 Hos

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-13 Thread Chris Shiflett
--- Curt Zirzow <[EMAIL PROTECTED]> wrote: > By default php streams the STDIN to a file so your just dealing > with buffer sized ~2K-4K. enabling this option makes php put the > contents into memory, thus leaving open the possiblity of someone > using up all your memory and bringing the machine to

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread John W. Holmes
CF High wrote: If anyone has any clues as to what might be happening; i.e. why the md5'd submitted plain text password does not match the stored md5'd password, please, please let me know. md5() results in a 32 character string. What kind of field are you storing it in? -- ---John Holmes... Amaz

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread CF High
Their receiving the $plain_pass $plain_pass is md5'd on login submit, so we should get md5($plain_pass ) = db stored md5'd($plain_pass ). Makes no sense at all. Got a couple hundred emails in my inbox from users not able to login -- I'm basically screwed ;--( --Noah "Curt Zirzow" <[EMAIL PRO

Re: [PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread Curt Zirzow
* Thus wrote CF High ([EMAIL PROTECTED]): > > $username = strip_illegals($_POST['email']); > $plain_pass = rand(); > $password = md5($plain_pass); > > I then insert their login info into our member's table. > > Unexpectedly, when users attempt to login no matching record is found. Are you sendi

RE: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Vail, Warren
Don't know if this will help, but can you confirm whether your while loop is failing on the first time through or a subsequent time through (perhaps by echoing something each time through)? Warren Vail -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED] Sent: Thursday, May

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Curt Zirzow
* Thus wrote Ren Fournier ([EMAIL PROTECTED]): > On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote: > > >http://www.php.net/manual/en/ref.sockets.ph > > Yes, I've read that page... many times. It has not helped me. That is > why I am posting my problem here, in that hopes that someone c

[PHP] md5() with rand() || Strange results, need help....

2004-05-13 Thread CF High
Hey all. I'm running an online sport report that is member protected; i.e. users need to login to gain site access. When a new user signs up, I set their username to their email address & generate a temporary password for them using rand() & md5(): $username = strip_illegals($_POST['email']); $p

Re: [PHP] Load Data infile

2004-05-13 Thread John W. Holmes
Juan Pablo Herrera wrote: [snip] I need do load data infile in mysql: $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO TABLE `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); But not realiz

Re: [PHP] _$ variable

2004-05-13 Thread John W. Holmes
[EMAIL PROTECTED] wrote: > Please somebody tell me what _$ (start from underscore) variable means. > I'm trying to find it from PHP.NET, but I cannot find that. http://us2.php.net/manual/en/function.gettext.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|

RE: [PHP] _$ variable

2004-05-13 Thread Chris
That is, as far as I know, invalid syntax. Maybe it's being confused with the predefined Super Global variables like $_GET , $_POST, and $_SERVER ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 5:30 PM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] _$ variable

2004-05-13 Thread ken
Please somebody tell me what _$ (start from underscore) variable means. I'm trying to find it from PHP.NET, but I cannot find that.

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
Hi Warren, There is only one process, and I'm sure I have only one IP address. It's just one script that loops. At the top of the loop, it waits to socket_read some data. If no data appears, I want it to timeout so that it can send the server a ping (which I must do). THAT is where the problem

Re[2]: [PHP] Socket looping challenge

2004-05-13 Thread Tom Rogers
Hi, Friday, May 14, 2004, 9:11:21 AM, you wrote: RF> The script doesn't even get that first "while" condition line. It loops RF> a few times (while receiving messages), then when no more messages are RF> coming from the server, and it times-out, it breaks out of the "while", RF> then returns to th

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
There is no firewall—it's all running locally, on my iBook (with Firewall off). You know, I really wish it WAS the firewall. :-) I really can't believe this little problem I'm encountering is because of some bug in the Socket library. I mean, what I'm doing is so simple, and I'm sure hundreds of

RE: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Vail, Warren
There is another kind of blocking you could be running into (other than the type mentioned in the manual) and it was eluded to before. What are the odds you are going through a firewall to get to the server. Firewalls will reject attempts to connect to unauthorized sockets on protected machines.

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Daniel Clark
Guess it really is "experiemental" :-) >> http://www.php.net/manual/en/ref.sockets.ph > > Yes, I've read that page... many times. It has not helped me. That is > why I am posting my problem here, in that hopes that someone can help. > > (I don't mean to be completely helpless, but I just don't yet

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote: http://www.php.net/manual/en/ref.sockets.ph Yes, I've read that page... many times. It has not helped me. That is why I am posting my problem here, in that hopes that someone can help. (I don't mean to be completely helpless, but I just

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Daniel Clark
http://www.php.net/manual/en/ref.sockets.ph > I just read something about sock warnings this morning. It said > sometimes they drop off, and to ignore the warnings, but capture the > errors. > >> I get this output: >> >> PHP Warning: socket_read() unable to read from socket [35]: Resource >> te

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
There is no firewall. I'm running this locally. On Thursday, May 13, 2004, at 05:00 PM, raditha dissanayake wrote: #1 cause for socket failures happen to be firewalls. René Fournier wrote: I get this output: PHP Warning: socket_read() unable to read from socket [35]: Resource temporarily una

Re: [PHP] Socket looping challenge

2004-05-13 Thread René Fournier
The script doesn't even get that first "while" condition line. It loops a few times (while receiving messages), then when no more messages are coming from the server, and it times-out, it breaks out of the "while", then returns to the top again, where it that while condition returns the error "

Re: [PHP] references

2004-05-13 Thread Tom Rogers
Hi, Friday, May 14, 2004, 5:10:49 AM, you wrote: VS> Hi! VS> I found that when I try to call class method "addchild" from reference of VS> object - php change not original object. New copy of object will created. VS> Very strange VS> Example: VS> class pages { VS> var $childs; VS> var $a

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread raditha dissanayake
#1 cause for socket failures happen to be firewalls. René Fournier wrote: I get this output: PHP Warning: socket_read() unable to read from socket [35]: Resource temporarily unavailable in /Users/rene/Sites/gpspolice/titan/cr.php on line 63 From this code: do { socket_set_block($socket)

Re: [PHP] Why would a socket be unavailable?

2004-05-13 Thread Daniel Clark
I just read something about sock warnings this morning. It said sometimes they drop off, and to ignore the warnings, but capture the errors. > I get this output: > > PHP Warning: socket_read() unable to read from socket [35]: Resource > temporarily unavailable in /Users/rene/Sites/gpspolice/tit

Re: [PHP] Socket looping challenge

2004-05-13 Thread Tom Rogers
Hi, Friday, May 14, 2004, 5:21:10 AM, you wrote: RF> Hi all, RF> Still encountering some challenges with my socket loop. Basically, I RF> need this socket client to wait to read incoming data, but if nothing RF> happens for more than three seconds, I want it to do something, then RF> return to wa

[PHP] Why would a socket be unavailable?

2004-05-13 Thread René Fournier
I get this output: PHP Warning: socket_read() unable to read from socket [35]: Resource temporarily unavailable in /Users/rene/Sites/gpspolice/titan/cr.php on line 63 From this code: do { socket_set_block($socket); socket_set_option($socket,SOL_SOCKET,SO_RCVTIMEO,$timeout);

RE: [PHP] Making Printer Friendly files

2004-05-13 Thread Chris W. Parker
Todd Cary on Thursday, May 13, 2004 3:15 PM said: > I have a news letter produced by PageMaker that is normally put into > PDF format so the user can download it. However, I would like to > have a Printer Friendly version (no graphics). Is there a PHP > program tha

[PHP] Making Printer Friendly files

2004-05-13 Thread Todd Cary
I have a news letter produced by PageMaker that is normally put into PDF format so the user can download it. However, I would like to have a Printer Friendly version (no graphics). Is there a PHP program that can take an HTML version and remove the graphics or is there a better way with pagem

[PHP] Re: mysql blob and phpmysqladmin

2004-05-13 Thread Torsten Roehr
"Jianping Zhu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have mysql table call com. One colum of table com will store > user's comments. Because user-provided comment might be too big to fit in char(255), i > use blob. but when i try to see it by use phpmysqladmin, i can only

[PHP] mysql blob and phpmysqladmin

2004-05-13 Thread Jianping Zhu
I have mysql table call com. One colum of table com will store user's comments. Because user-provided comment might be too big to fit in char(255), i use blob. but when i try to see it by use phpmysqladmin, i can only see something like [BLOB 345 byes] i can not read the text of the comment. Is th

Re: [PHP] Load Data infile

2004-05-13 Thread Juan Pablo Herrera
> [snip] > I need do load data infile in mysql: > $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO > TABLE > `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES > TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); > But not realize nothing wit

Re: [PHP] Load Data infile

2004-05-13 Thread Matt Matijevich
[snip] I need do load data infile in mysql: $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO TABLE `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); But not realize nothing with execution th

[PHP] Re: Reversing a string?

2004-05-13 Thread Kim Steinhaug
Hehe, managed to do it on first try. This should do it : 1){ $reversed = ""; for($i=0;$i<$length;$i++){ $reversed .= substr($string,$length-$i,1); echo substr($string,$length-$i,1) . ""; } $reversed .= substr($string,0,1); echo substr($string,0,1) . ""; echo $reversed; } else ech

Re: [PHP] Reversing a string?

2004-05-13 Thread Robert Cummings
On Thu, 2004-05-13 at 17:27, Kristian Rasmussen wrote: > Hi all, > > I need a script for reversing a string ("hello world" becomes "dlrow > olleh"). I have tried the following: > > --- > $length = strlen($i); > $g = ""; > > while ($length > 0) > { >$g = $i[$length] . $g; > $length--; > } >

[PHP] Re: problem install pws and php

2004-05-13 Thread Torsten Roehr
"Lee 03" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > i am a beginner for php programming, my OS is win98 while my webserver is PWS, all is in the same machine,when i try to run my internet explorer( type in http://localhost/phpinfo.php), phpinfo.php cannot be display. > > i try

[PHP] Load Data infile

2004-05-13 Thread Juan Pablo Herrera
Hi! I need do load data infile in mysql: $query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO TABLE `test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2); But not realize nothing with execution the s

[PHP] Re: Zip-code Form Validation Scripts and Zipcode Program

2004-05-13 Thread Torsten Roehr
"Ryan Munevar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey Guys, > > Question 1: Does anyone have a really good php form validation script > for Zip-codes? > > Question 2: Does anyone know of a great depository of form validation > scripts for all kinds of form inputs? Take

[PHP] Reversing a string?

2004-05-13 Thread Kristian Rasmussen
Hi all, I need a script for reversing a string ("hello world" becomes "dlrow olleh"). I have tried the following: --- $length = strlen($i); $g = ""; while ($length > 0) { $g = $i[$length] . $g; $length--; } echo $g; --- With, obviously, no success. Is this the way or could array_reverse()

[PHP] Reversing a string?

2004-05-13 Thread Kristian Rasmussen
Hi all, I need a script for reversing a string ("hello world" becomes "dlrow olleh"). I have tried the following: --- $length = strlen($i); $g = ""; while ($length > 0) { $g = $i[$length] . $g; $length--; } echo $g; --- With, obviously, no success. Is this the way or could array_reverse()

RE: [PHP] Variables Help

2004-05-13 Thread Ford, Mike [LSS]
On 13 May 2004 19:52, John Nichel wrote: > Monty wrote: > > Is there any way to get JUST the user-defined variables in PHP? > > Problem with get_defined_vars() is that it contains everything, > > including server and environment vars, and there's no easy way to > > keep just the user-defined vars

[PHP] Re: PHPSESSID Being Stubbornly Persistent

2004-05-13 Thread Monty
> From: [EMAIL PROTECTED] (Jason Barnett) > > Out of curiosity, how were you planning on passing session id's? > Through POST variables? In cookies only. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] accessing $_POST from another page.

2004-05-13 Thread Edward Peloke
I have a page class which controls what happens within a given page. For example, the code in my index page is this: $page=new AdminPage(); $page->action($action); $page->paint($paint); The paint and action methods simply set include files Function action($action){ include_once($this->actionRo

Re: [PHP] OnClick handler to show PDF

2004-05-13 Thread Todd Cary
You were close enough...this works: The next challenge is to create a new window and display the file. Todd John Nichel wrote: Todd Cary wrote: Currently, I have a Link to show a PDF file here to open the Race Schedule'); ?> I want to replace it with a button and an OnClick() '); ?>

Re: [PHP] Variables Help

2004-05-13 Thread Jason Barnett
//bunch of PHP code... $current_vars = get_defined_vars(); $user_defined_vars = array_diff($current_vars,$starting_vars); ... ---John Holmes... Oh I like that... wish I would have suggested that one! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] dinamic hashes

2004-05-13 Thread Ford, Mike [LSS]
On 13 May 2004 12:59, Yivi wrote: > Hello everyone. > I am having a stupid problem with a couple of arrays, tried a > couple of > things but I am feeling disconcerted. > > The thing is, I thought it was possible to create arrays in a dynamic > fashion, as in: $newarray['newkey'] = "new_value"; >

[PHP] Socket looping challenge

2004-05-13 Thread René Fournier
Hi all, Still encountering some challenges with my socket loop. Basically, I need this socket client to wait to read incoming data, but if nothing happens for more than three seconds, I want it to do something, then return to waiting (for another three seconds). I've got some good help fro

[PHP] references

2004-05-13 Thread Vladislav Shulgin
Hi! I found that when I try to call class method "addchild" from reference of object - php change not original object. New copy of object will created. Very strange Example: absnum = $absnum; } function addchild(&$node) { if (!is_array($this->childs)) $this->childs = array(); $this-

Re: [PHP] OnClick handler to show PDF

2004-05-13 Thread John Nichel
John Nichel wrote: Todd Cary wrote: Currently, I have a Link to show a PDF file here to open the Race Schedule'); ?> I want to replace it with a button and an OnClick() '); ?> I cannot get the syntax correct for the OnClick. Is this the best way to use a button for the task? Todd Since thi

Re: [PHP] OnClick handler to show PDF

2004-05-13 Thread John Nichel
Todd Cary wrote: Currently, I have a Link to show a PDF file here to open the Race Schedule'); ?> I want to replace it with a button and an OnClick() '); ?> I cannot get the syntax correct for the OnClick. Is this the best way to use a button for the task? Todd Since this is a PHP mailing li

[PHP] OnClick handler to show PDF

2004-05-13 Thread Todd Cary
Currently, I have a Link to show a PDF file here to open the Race Schedule'); ?> I want to replace it with a button and an OnClick() '); ?> I cannot get the syntax correct for the OnClick. Is this the best way to use a button for the task? Todd -- PHP General Mailing List (http://www.php.net

[PHP] Re: PHPSESSID Being Stubbornly Persistent

2004-05-13 Thread Matt Matijevich
[snip] Out of curiosity, how were you planning on passing session id's? Through POST variables? [/snip] I would guess cookie. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables Help

2004-05-13 Thread John Nichel
John W. Holmes wrote: //bunch of PHP code... $current_vars = get_defined_vars(); $user_defined_vars = array_diff($current_vars,$starting_vars); ... ---John Holmes... This cat is skinned. :) -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.

[PHP] Re: PHPSESSID Being Stubbornly Persistent

2004-05-13 Thread Jason Barnett
Out of curiosity, how were you planning on passing session id's? Through POST variables? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables Help

2004-05-13 Thread John W. Holmes
From: "Monty" <[EMAIL PROTECTED]> > >> Is there a variable that I can call that will return an array with any > >> variables I have set? I'd want to call it and then parse and display > > current > >> values of, in this case, a and b. Hope that makes sense. > > > > Like something that "Returns an a

Re: [PHP] Variables Help

2004-05-13 Thread Jason Barnett
Is there any way to get JUST the user-defined variables in PHP? Problem with get_defined_vars() is that it contains everything, including server and environment vars, and there's no easy way to keep just the user-defined vars part of the array created by get_defined_vars. Monty Why not just unset t

Re: [PHP] Variables Help

2004-05-13 Thread John Nichel
Monty wrote: Is there any way to get JUST the user-defined variables in PHP? Problem with get_defined_vars() is that it contains everything, including server and environment vars, and there's no easy way to keep just the user-defined vars part of the array created by get_defined_vars. Monty foreac

[PHP] Re: Error Passing Command in URL

2004-05-13 Thread Jason Barnett
We'll probably need source code to help you out with this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPSESSID Being Stubbornly Persistent

2004-05-13 Thread Matt Matijevich
[snip] ini_set('session.use_trans_sid', '0'); [/snip] I think, at least according to the manual session.use_trans_sid can only be set in php.ini, .htaccess or httpd.conf http://www.php.net/ini_set look at session.use_trans_sid -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Error Passing Command in URL

2004-05-13 Thread Dragon
Hi, I have a Calendar Script for my Clan, but I didn't getting it to work. You can See my Script under www.knallepuff.de/calendar If I/You try to open the Admin-Sektion ?open=admin Nothing happens, you will only reload the main view. This Script ist working on many other Server, but not on mine

Re: [PHP] Variables Help

2004-05-13 Thread Monty
>> Is there a variable that I can call that will return an array with any >> variables I have set? I'd want to call it and then parse and display > current >> values of, in this case, a and b. Hope that makes sense. > > Like something that "Returns an array of all defined variables"?? > > http:/

[PHP] PHPSESSID Being Stubbornly Persistent

2004-05-13 Thread Monty
I have the following lines in a PHP script: ini_set('session.save handler','user'); ini_set('session.use_cookies', '1'); ini_set('session.use_only_cookies', '1'); ini_set('session.cookie_lifetime', '0'); ini_set('session.use_trans_sid', '0'); I do not want the Session ID to be passed via the URL,

Re: [PHP] Webcapture to PDF

2004-05-13 Thread James E Hicks III
On Thursday 13 May 2004 11:59 am, Ashley M. Kirchner wrote: > Looking for a (open source) solution here: is there some way that I > can convert an already existing HTML page to a PDF file, by means of a > script (on a unix box)? What I'd like to do is have a button on all of > our pages that,

Re: [PHP] MySQL backup

2004-05-13 Thread John W. Holmes
From: "Matthew Oatham" <[EMAIL PROTECTED]> > > > I am using MySQL database accessed via myphp admin - > > > there is an export option which allows me to export the structure > > > and data to an sql file but this is a manual procedure is there > > > anyway to automate this via myphp admin i.e. usin

Re: [PHP] MySQL backup

2004-05-13 Thread John Nichel
Matthew Oatham wrote: Mmmm my provider doesn't give me access to this area ! To what area? mysqldump, or cron? -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-mysql problem

2004-05-13 Thread John Nichel
Jianping Zhu wrote: Thank you for your response. I get the php rpm distributed with redhat 9.0. Do I have to recompile phd instead from source code with mysql support? Thanks You need to install the php-mysql rpm. It will be on one of your Red Hat Discs. -- John C. Nichel KegWorks.com 716.856.

Re: [PHP] MySQL backup

2004-05-13 Thread John Nichel
Matthew Oatham wrote: Hi, I am using MySQL database accessed via myphp admin - there is an export option which allows me to export the structure and data to an sql file but this is a manual procedure is there anyway to automate this via myphp admin i.e. using a cron job? Thanks Use a cron and cal

Re: [PHP] Variables Help

2004-05-13 Thread John Nichel
John W. Holmes wrote: From: "Steve Douville" <[EMAIL PROTECTED]> Is there a variable that I can call that will return an array with any variables I have set? I'd want to call it and then parse and display current values of, in this case, a and b. Hope that makes sense. Like something that "Ret

Re: [PHP] MySQL backup

2004-05-13 Thread Matthew Oatham
Mmmm my provider doesn't give me access to this area ! - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "Matthew Oatham" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 6:40 PM Subject: Re: [PHP] MySQL backup > From: "Matthew Oatham" <[EMAIL PROT

Re: [PHP] php-mysql problem

2004-05-13 Thread Jianping Zhu
Thank you for your response. I get the php rpm distributed with redhat 9.0. Do I have to recompile phd instead from source code with mysql support? Thanks On Thu, May 13, 2004 at 06:15:23PM +0200, Oliver Hankeln wrote: > Hello, > > [snip] > > > but i got error message with: > > http://co

[PHP] Re: [PHP-DB] php-mysql problem

2004-05-13 Thread Jianping Zhu
Hi, thank you for your respinse. It the /etc/php.ini i have something like: ; ; extension=modulename.extension ; ; For example: ; extension=mysql.so if you go to http://coopunit.forestry.uga.edu:8080/test.php you will find mysql is not installed as an extension. but i do not know how to f

Re: [PHP] MySQL backup

2004-05-13 Thread John W. Holmes
From: "Matthew Oatham" <[EMAIL PROTECTED]> > I am using MySQL database accessed via myphp admin - > there is an export option which allows me to export the structure > and data to an sql file but this is a manual procedure is there > anyway to automate this via myphp admin i.e. using a cron job?

Re: [PHP] Variables Help

2004-05-13 Thread John W. Holmes
From: "Steve Douville" <[EMAIL PROTECTED]> > $a = "yes"; > $b = "no"; > ?> > > Is there a variable that I can call that will return an array with any > variables I have set? I'd want to call it and then parse and display current > values of, in this case, a and b. Hope that makes sense. Like som

[PHP] MySQL backup

2004-05-13 Thread Matthew Oatham
Hi, I am using MySQL database accessed via myphp admin - there is an export option which allows me to export the structure and data to an sql file but this is a manual procedure is there anyway to automate this via myphp admin i.e. using a cron job? Thanks

RE: [PHP] site search engine.. not dynamic

2004-05-13 Thread James Tusini
you could try php dig as well as htdig -Original Message- From: Aaron Wolski [mailto:[EMAIL PROTECTED] Sent: 13 May 2004 01:25 To: 'PHP-General' Subject: [PHP] site search engine.. not dynamic Hi all, Can anyone point me in the direction of a site search engine that reads files in a di

[PHP] Variables Help

2004-05-13 Thread Steve Douville
Is there a variable that I can call that will return an array with any variables I have set? I'd want to call it and then parse and display current values of, in this case, a and b. Hope that makes sense. TIA

Re: [PHP] Variables Help

2004-05-13 Thread Adrian
$GLOBALS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables Help

2004-05-13 Thread Richard Davey
Hello Steve, Thursday, May 13, 2004, 6:19:07 PM, you wrote: SD> Is there a variable that I can call that will return an array with any SD> variables I have set? I'd want to call it and then parse and display current SD> values of, in this case, a and b. Hope that makes sense. get_defined_vars();

Re: [PHP] Webcapture to PDF

2004-05-13 Thread Matt Matijevich
[snip] Looking for a (open source) solution here: is there some way that I can convert an already existing HTML page to a PDF file, by means of a script (on a unix box)? [/snip] You could try http://www.easysw.com/htmldoc/ I have not used it but there is php examples on the site -- PHP Gener

Re: [PHP] php-mysql problem

2004-05-13 Thread Oliver Hankeln
Hello, [snip] but i got error message with: http://coopunit.forestry.uga.edu:8080/testdb.php the error is: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/testdb.php on line 13 How can Fix this problem? Thanks [/snip] Your PHP is compiled without mysql

Re: [PHP] dinamic hashes

2004-05-13 Thread Tom Rogers
Hi, Thursday, May 13, 2004, 9:59:23 PM, you wrote: Y> Hello everyone. Y> I am having a stupid problem with a couple of arrays, tried a couple of Y> things but I am feeling disconcerted. Y> The thing is, I thought it was possible to create arrays in a dynamic Y> fashion, as in: Y> $newarray['newke

[PHP] Webcapture to PDF

2004-05-13 Thread Ashley M. Kirchner
Looking for a (open source) solution here: is there some way that I can convert an already existing HTML page to a PDF file, by means of a script (on a unix box)? What I'd like to do is have a button on all of our pages that, when clicked on, will perform a capture of that page, including a

[PHP] dinamic hashes

2004-05-13 Thread Yivi
Hello everyone. I am having a stupid problem with a couple of arrays, tried a couple of things but I am feeling disconcerted. The thing is, I thought it was possible to create arrays in a dynamic fashion, as in: $newarray['newkey'] = "new_value"; And the array would be incremented accordingly. A

Re: [PHP] site search engine.. not dynamic

2004-05-13 Thread Marek Kilimajer
Aaron Wolski wrote: Hi all, Can anyone point me in the direction of a site search engine that reads files in a directory find relevant results for an search term that a person might enter on a site? I need to build a site search engine but the problem is. the site isn't dynamic (yet) so I need

  1   2   >