[PHP] How do I regain the ability to create databases (phpMyAdmin)?

2004-01-23 Thread Freedomware
I've finally got both PHP and MySQL up and running, and I've learned how to create new users and databases (at least the basics). But I was told I should add a password to root/localhost, and that's been a major pain in the butt. First, it knocked out phpMyAdmin. Then I learned how to edit a

[PHP] Function for crypt and decript.

2004-01-23 Thread francesco
Hi all, are in PHP, functions for crypt and decrypt string? I would to use this function in my script in PHP, how can I use this? I need of an example for use this and a list of this function. Thanks in advance.

RE: [PHP] Segmentation fault problem

2004-01-23 Thread Martin Luethi
the function who is causing the seg fault is preg_match_all maybe this helps (http://bugs.php.net/bug.php?id=20698): [28 Nov 2002 6:26am EST] thingol at mail dot ru If the text for preg_match_all is bigger than some value, many regexp constructions causes php to terminate. This code crashes php

[PHP] Weird problem with objects

2004-01-23 Thread Mark Cubitt
hi, I have a shopping cart I'm having probs with. I have a cart class that starts like this: CODE require_once(class_database.php); // Database Class require_once(class_accessory.php); // Accessory Class require_once(class_order.php); // Order Class class cart { var $database;

Re: [PHP] Weird problem with objects

2004-01-23 Thread Stuart
Mark Cubitt wrote: $this-$database = new database(); $this-$accessory = new accessory(); $this-$order = new order(); These should be... $this-database = new database(); $this-accessory = new accessory(); $this-order = new order(); You don't want the

Re: [PHP] How do I regain the ability to create databases (phpMyAdmin)?

2004-01-23 Thread Martin Luethi
check if the user you defined in phpMyAdmin/config.inc.php ($cfg['Servers'][$i]['user'] = ???) has the right to create new databases (db: mysql / table: user / field: Create_priv='Y') restart the mysql-server after altering the database mysql g. martin luethi Fri, 23 Jan 2004 01:26:46 -0800

[PHP] Re: RE : [PHP] Weird problem with objects

2004-01-23 Thread Stuart
Vincent DUPONT wrote: what do you mean by this :Additionally, you might want to assign the reference of the new objects otherwise PHP will create a new object and then make a copy of it - not very efficient. Like so... $this-database = new database(); $this-accessory = new accessory();

Re: [PHP] How do I regain the ability to create databases

2004-01-23 Thread Freedomware
Martin Luethi wrote: check if the user you defined in phpMyAdmin/config.inc.php ($cfg['Servers'][$i]['user'] = ???) has the right to create new databases (db: mysql / table: user / field: Create_priv='Y') restart the mysql-server after altering the database mysql H... I'm a little confused. I

Re: [PHP] How do I regain the ability to create databases

2004-01-23 Thread Freedomware
Sheez, maybe you fixed it already... I typed in the username and password, but did NOT delete http on line 133. I saved the page, but didn't restart MySQL, and it still works - I think. I haven't created a new database yet, but it's inviting me to! Thanks for the tip. -- PHP General Mailing

Re: [PHP] Suggestion on executing external programs from within php

2004-01-23 Thread John Clegg
Hi Stuart, I have finally had a chance to test your suggestion and I am still getting a browser timeout ? The 1st program runs to completion even though the broswer times out. So it doesn't execute the second program :-( I have also tried `/usr/local/bin/process_file file1 `

Re: [PHP] Suggestion on executing external programs from within php

2004-01-23 Thread Stuart
John Clegg wrote: I have finally had a chance to test your suggestion and I am still getting a browser timeout ? The 1st program runs to completion even though the broswer times out. So it doesn't execute the second program :-( I have also tried `/usr/local/bin/process_file file1 `

[PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Freedomware
I'm wading through some of the MySQL literature (whew!), but I'm looking for the quickest way to create some tables and get them online. I just downloaded a software program called EMS MySQL Manager, which appears to work well with phpMyAdmin and makes some functions even easier. Especially

RE: [PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Jay Blanchard
[snip] I have a number of spreadsheet databases, and I'm just looking for the quickest way to get them into a MySQL/PHP database. [/snip] If they (the spreadsheets) are really set up like databases then you can save them as CSV files and import them directly with very little pain. -- PHP General

RE: [PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Jay Blanchard
[snip] [snip] I have a number of spreadsheet databases, and I'm just looking for the quickest way to get them into a MySQL/PHP database. [/snip] If they (the spreadsheets) are really set up like databases then you can save them as CSV files and import them directly with very little pain. [/snip]

RE: [PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Humberto Silva
I have a number of spreadsheet databases, and I'm just looking for the quickest way to get them into a MySQL/PHP database. Hi, You can pick the headers from the speadsheets to construct the tables, export from the spreadsheets to .csv and import it to the new tables Humberto Silva

Re: [PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Freedomware
Jay Blanchard wrote, Ooops, sorry. Google for 'import CSV into MySQL' or hit the MySQL web site Humberto Silva wrote: You can pick the headers from the speadsheets to construct the tables, export from the spreadsheets to .csv and import it to the new tables Wow, thanks for the tips. I wasn't

php-general Digest 23 Jan 2004 13:22:54 -0000 Issue 2547

2004-01-23 Thread php-general-digest-help
php-general Digest 23 Jan 2004 13:22:54 - Issue 2547 Topics (messages 175486 through 175511): can't figure out this mysql error 175486 by: Chris W. Parker 175491 by: Jason Wong Migrating OOP PHP4 codes to 5 175487 by: siamak Re: PHP Equivalent of DBM Files

RE: [PHP] Importing Text into Database - Can you recommend a tutorial?

2004-01-23 Thread Angelo Zanetti
there is a program that is called mySQL Front it has a fucntion to import CSV (comma delimited) files into a DB. Just google for it. HTH Angelo -Original Message- From: Freedomware [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 2:42 PM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] Shared mod_php doesn't always load php.ini

2004-01-23 Thread Nico Sabbi
Hi, I noticed that often mod_php loaded as a shared library by apache doesn't load php.ini, and I have to restart apache to make it work. Apache version is 1.3.28 and Php is 4.3.4, all compiled by me. They are running on an updated RedHat 7.3. Is it a known (and solved) problem? Thanks. Nico

Re: [PHP] Shared mod_php doesn't always load php.ini

2004-01-23 Thread Matt Matijevich
snip Hi, I noticed that often mod_php loaded as a shared library by apache doesn't load php.ini, and I have to restart apache to make it work. Apache version is 1.3.28 and Php is 4.3.4, all compiled by me. They are running on an updated RedHat 7.3. Is it a known (and solved) problem? /snip I

Re: [PHP] Shared mod_php doesn't always load php.ini

2004-01-23 Thread Stuart
Matt Matijevich wrote: snip Hi, I noticed that often mod_php loaded as a shared library by apache doesn't load php.ini, and I have to restart apache to make it work. Apache version is 1.3.28 and Php is 4.3.4, all compiled by me. They are running on an updated RedHat 7.3. Is it a known (and solved)

[PHP] 2 x DB connections at once

2004-01-23 Thread Donald Tyler
Yes thanks, that will do it. I wasn't aware you had to pass an extra param to get it to create a new connection. Both the connections were in separate objects and they were being specified every time I did a query or select db, but since I didn't add that extra param you mentioned I guess they

[PHP] file download using header

2004-01-23 Thread Joshua Minnie
I am having some trouble making it possible to download a file using the header function. The problems are: (1) I get the dialog box to download the file, but for some reason the type of file isn't getting passed to the box, and (2) when I download a 4MB file it only seems to be getting 16.6KB.

[PHP] binary POST data

2004-01-23 Thread C C
Hello, I am trying to process POST data sent from a device. Here is a capture of what is being sent from the device (with the file data replaced by File Contents): POST file.php HTTP/1.1 Host: ---.---.---.--- Connection: Keep-Alive Content-Type: multipart/form-data;

Re: [PHP] pass by reference

2004-01-23 Thread Cesar Cordovez
Kevin Waterson wrote: This one time, at band camp, Justin French [EMAIL PROTECTED] wrote: In other words, you HTML source looks like this: img src='images.php?id=45' NOT img src='{RAW BINARY DATA HERE}' Kevin, et all. Can this be posible? I mean img src='{RAWDATA}' where RAWDATA beening

[PHP] Re: Function for crypt and decript.

2004-01-23 Thread Jas
[EMAIL PROTECTED] wrote: Hi all, are in PHP, functions for crypt and decrypt string? I would to use this function in my script in PHP, how can I use this? I need of an example for use this and a list of this function. Thanks in advance. base64_decode() and base64_encode()

[PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Hello All, I am using php and Mysql in my application. The problem is that the system automatically logs the user out of the system after 24 minutes. I would like to extend the session lifetime to about 2-3 hrs. I know there is a way to do it using a .htaccess file kept in the same folder as

Re: [PHP] Session time-out value

2004-01-23 Thread John W. Holmes
From: Pushpinder Singh [EMAIL PROTECTED] I am using php and Mysql in my application. The problem is that the system automatically logs the user out of the system after 24 minutes. I would like to extend the session lifetime to about 2-3 hrs. I know there is a way to do it using a .htaccess

Re: [PHP] Session time-out value

2004-01-23 Thread John Nichel
Pushpinder Singh wrote: Hello All, I am using php and Mysql in my application. The problem is that the system automatically logs the user out of the system after 24 minutes. I would like to extend the session lifetime to about 2-3 hrs. I know there is a way to do it using a .htaccess file

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Thanks John, I dont have rights t change this value for my webserver. I only want this value to be changed for my application. Is there a way to take care of this ? Thanks again !! Pushpinder On Friday, January 23, 2004, at 11:28 AM, John Nichel wrote: Pushpinder Singh wrote: Hello All,

[PHP] sessions not registering inside a function.

2004-01-23 Thread Jarratt Ingram
Hello All, I have created a login system, which works as expected on php 4.2. When i was asked to move it onto an older server using 4.0.6, the system stopped registering sessions. main page: ? session_start(); include('PROC_Login.php'); login($username,$password); PROC_Login.php:

[PHP] simple ?- load page after submit

2004-01-23 Thread Matt Hedges
Hello, I've built a page where someone can enter in their information... currently, when they hit submit, a screen comes back and says thanks for entering your info. (echo Thank you! Information entered.\n;) I want when they hit submit for it to take them to their page

RE: [PHP] simple ?- load page after submit

2004-01-23 Thread Katie Dewees
Matt Hedges wrote: Hello, I've built a page where someone can enter in their information... currently, when they hit submit, a screen comes back and says thanks for entering your info. (echo Thank you! Information entered.\n;) I want when they hit submit for it to take them to their page

Re: [PHP] sessions not registering inside a function.

2004-01-23 Thread John W. Holmes
From: Jarratt Ingram [EMAIL PROTECTED] I have created a login system, which works as expected on php 4.2. When i was asked to move it onto an older server using 4.0.6, the system stopped registering sessions. main page: ? session_start(); function login($username, $password){ global

Re: [PHP] Session time-out value

2004-01-23 Thread John W. Holmes
From: Pushpinder Singh [EMAIL PROTECTED] I dont have rights t change this value for my webserver. I only want this value to be changed for my application. Is there a way to take care of this ? Thanks again !! You can use an .htaccess file or (maybe) ini_set() (before session_start()!!).

Re: [PHP] simple ?- load page after submit

2004-01-23 Thread John W. Holmes
From: Katie Dewees [EMAIL PROTECTED] Matt Hedges wrote: I want when they hit submit for it to take them to their page (personalpage.php?id=$id)... header(Location: personalpage.php?id=$id); Or, correctly: header(Location: http://www.yourdomain.com/personalpage.php?id=$id;); ---John

RE: [PHP] Segmentation fault problem

2004-01-23 Thread E. Stuart Hicks
Interesting. Well, ulimit replies 'unlimited' so I guess that's not the problem. I do have an older version of PCRE, though, so we'll see if upgrading from 4.3 to 4.5 and then rebuilding the module helps. Stu -Original Message- From: Martin Luethi [mailto:[EMAIL PROTECTED] Sent:

Re: [PHP] Session time-out value

2004-01-23 Thread John Nichel
Pushpinder Singh wrote: Thanks John, I dont have rights t change this value for my webserver. I only want this value to be changed for my application. Is there a way to take care of this ? Thanks again !! Pushpinder Before you call session_start() ini_set ( session.gc_maxlifetime,

[PHP] Ques: Conflicting functions in two include files.

2004-01-23 Thread Al
I have a page that calls functions from two different include files. Unfortunately, some of the functions have the same name; but are slightly different. I know I can change the names of the conflicting functions; but, that is a bit of a chore. Is it possible to control from which include

Re: [PHP] simple ?- load page after submit

2004-01-23 Thread Matt Matijevich
snip Or, correctly: header(Location: http://www.yourdomain.com/personalpage.php?id=$id;); /snip to add to what john said, you could make it a little easier to move your script from place to place if you use some php variables and the dirname function. this comes right from the manual: ?php

RE: [PHP] can't figure out this mysql error

2004-01-23 Thread Chris W. Parker
Jason Wong mailto:[EMAIL PROTECTED] on Thursday, January 22, 2004 8:49 PM said: The if-clause will never be evaluated because if there had been an error your program would have dieded on the previous line. Heh.. yeah I thought about that as I was examining the code for this post. But

Re: [PHP] Ques: Conflicting functions in two include files.

2004-01-23 Thread John Nichel
Al wrote: I have a page that calls functions from two different include files. Unfortunately, some of the functions have the same name; but are slightly different. I know I can change the names of the conflicting functions; but, that is a bit of a chore. Is it possible to control from which

Re: [PHP] sessions not registering inside a function.

2004-01-23 Thread Jarratt Ingram
Thank you John, I did manage to get it working by calling global $AuthUser after i ran the function on the main page and it seems to have resolved the issue. have a good weekend J On Fri, 2004-01-23 at 16:38, John W. Holmes wrote: From: Jarratt Ingram [EMAIL PROTECTED] I have created a

Re: [PHP] Ques: Conflicting functions in two include files.

2004-01-23 Thread Chris Shiflett
--- Al [EMAIL PROTECTED] wrote: I have a page that calls functions from two different include files. Unfortunately, some of the functions have the same name; but are slightly different. I know I can change the names of the conflicting functions; but, that is a bit of a chore. I think

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Thanks much John, I have about 8 different pages that are all session linked. Do I have to add this ini_set() at the beginning of all the session_start() calls on all these pages. Thanks again and I am sorry if my question sounded lame. Pushpinder Singh On Friday, January 23, 2004, at 11:49

RE: [PHP] can't figure out this mysql error

2004-01-23 Thread Chris W. Parker
Chris W. Parker on Friday, January 23, 2004 8:54 AM said: All of what you say makes sense. Hopefully your suggestion will help me find the problem! In looking through my code I see that I already do this. EVERY call to a mysql function has or die($this-stop($current_line:.__LINE__));

[PHP] php4apache.dll - compiled version with -DEAPI

2004-01-23 Thread Baudin JF
Hi, I'm looking for a compiled version of php4apache.dll for win32 with the -DEAPI option. Can you tell me where i can find it for download ? Thanks Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: simple ?- load page after submit

2004-01-23 Thread Matt Hedges
That doesn't work... I think the problem may be because I don't have the id defined anywhere in the code (but it automatically writes it to MySQL). When I put the code below, I get a can't send header error. I tried changing the echo to a href=page.php?id=$idpage/a, but the page brings up

Re: [PHP] Session time-out value

2004-01-23 Thread Matt Matijevich
snip I have about 8 different pages that are all session linked. Do I have to add this ini_set() at the beginning of all the session_start() calls on all these pages. /snip Not 100% sure, but I think if you dont add ini_set() before all of your session_start() calls, session.gc_maxlifetime

Re: [PHP] Session time-out value

2004-01-23 Thread John Nichel
Pushpinder Singh wrote: Thanks much John, I have about 8 different pages that are all session linked. Do I have to add this ini_set() at the beginning of all the session_start() calls on all these pages. You should only have to do it for the first time session_start() is called, but not

RE: [PHP] How do I regain the ability to create databases

2004-01-23 Thread Chris W. Parker
Freedomware mailto:[EMAIL PROTECTED] on Friday, January 23, 2004 3:19 AM said: HOWEVER, it said the better method was to type in either http or (I can't remember the second choice offhand). I think I did it on line 133 (see below. Just to clarify. The difference between the two methods is

Re: [PHP] Re: simple ?- load page after submit

2004-01-23 Thread John Nichel
Matt Hedges wrote: That doesn't work... I think the problem may be because I don't have the id defined anywhere in the code (but it automatically writes it to MySQL). Huh? Is this from an auto increment field in MySQL...when a new user signs-up? When I put the code below, I get a can't send

RE: [PHP] Re: simple ?- load page after submit

2004-01-23 Thread Katie Dewees
Matt Hedges wrote: snip When I put the code below, I get a can't send header error. I tried changing the echo to a href=page.php?id=$idpage/a, but the page brings up page.php?id= (id = nothing). /snip If it says it can't send the headers, that means that headers have already been outputted.

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Actually the user is only allowed to get to any page if he has logged on. Thus all the remaining pages check to see if a session has been registered, if so then the person is allowed to to go on with his session. If the session did not exist he is redirected to a login page. Do you still

[PHP] Re: file download using header

2004-01-23 Thread Joshua Minnie
Okay, I found a solution to part one of my questions by changing my headers, but for some reason I am still getting a fractional download of the file. Most commonly it's about 16.6KB of a 4MB file. The kicker is it says that it completed successfully. Here is the modified code: ?php $download

Re: [PHP] Session time-out value

2004-01-23 Thread Matt Matijevich
snip Also if I were to create a .htaccess file that is kept in the same dir as the application, what do I need to include in that file ? /snip something like: php_value session.gc_maxlifetime 25000 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Session time-out value

2004-01-23 Thread John Nichel
Pushpinder Singh wrote: Actually the user is only allowed to get to any page if he has logged on. Thus all the remaining pages check to see if a session has been registered, if so then the person is allowed to to go on with his session. If the session did not exist he is redirected to a login

[PHP] drop downs

2004-01-23 Thread Mark Luquette
I am migrating a site that used cold fusion. It used a mouseover feature that dropped a box with links that responded to additional mouseover features. This is not a right side down arrow form like box. Any php scripts that do this ? Thanks, Mark L.

Re: [PHP] Session time-out value

2004-01-23 Thread John W. Holmes
From: John Nichel [EMAIL PROTECTED] php_value session.gc_maxlifetime number of seconds I'm really curious to see if any of this really works. I know it _should_, but... Assuming a shared/virtual server where all session files for all sites are in the same location. When the garbage collector

Re: [PHP] drop downs

2004-01-23 Thread John W. Holmes
From: Mark Luquette [EMAIL PROTECTED] I am migrating a site that used cold fusion. It used a mouseover feature that dropped a box with links that responded to additional mouseover features. This is not a right side down arrow form like box. Any php scripts that do this ? That is a

RE: [PHP] drop downs

2004-01-23 Thread Vail, Warren
If you are looking for something to plagiarize, I would start with; http://www.hotscripts.com/JavaScript/Scripts_and_Programs/index.html and there is always google to find other sources. good luck, Warren Vail -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent:

Re: [PHP] Ques: Conflicting functions in two include files.

2004-01-23 Thread Robert Cummings
On Fri, 2004-01-23 at 12:02, Chris Shiflett wrote: --- Al [EMAIL PROTECTED] wrote: I have a page that calls functions from two different include files. Unfortunately, some of the functions have the same name; but are slightly different. I know I can change the names of the

Re: [PHP] Session time-out value

2004-01-23 Thread Matt Matijevich
snip I'm really curious to see if any of this really works. I know it _should_, but... Assuming a shared/virtual server where all session files for all sites are in the same location. When the garbage collector is triggered by a request to the site with this setting in .htaccess, does it honor

[PHP] Access Violation at 77FCC61F?

2004-01-23 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone know what this error means: PHP has encountered an Access Violation at 77FCC61F I'm running PHP 5.0 beta 3 on IIS 5.0 on a Win2K machine. I received the above error message multiple times after changing addslashes($value) to str_replace(',

[PHP] IE corrupts JPEG at HTML upload, imagecreatefromjpeg() doesn't work after upload

2004-01-23 Thread Torsten Roehr
Hi there, I am experiencing a strange problem with IE 5.0 while uploading a JPEG file. Somehow IE changes/corrupts the file so that imagecreatefromjpeg() doesn't work after the upload and triggers an error. If I upload the picture with Opera 7.22 or Mozilla everything is fine. Client is Windows

Re: [PHP] Session time-out value

2004-01-23 Thread John W. Holmes
If you just change the session.save_path variable for one site on your box to something like /tmp/onesite, do you still have to write your own garbage routine? Wont the autamatic php garbage collection know to only cleanup sessions in the /tmp/onesite directory? Is the garbage collection

Re: [PHP] Ques: Conflicting functions in two include files.

2004-01-23 Thread Chris Shiflett
--- Robert Cummings [EMAIL PROTECTED] wrote: IMHO encapsulating functions in objects provides decent namespacing functionality. I can't really see a large need beyond what classes provide. True that then there's still an issue with class names, but that's less frequent a collision. I think

[PHP] Re: file download using header (SOLVED)

2004-01-23 Thread Joshua Minnie
I found the solution, I ended up instead of using readfile, use fopen and fpassthru. Here is the code that solved the problem ?php $pathtofile = '/abs/path/to/file'.urldecode( $_GET['link'] ); $download = 'url/path/to/fille'.urldecode( $_GET['link'] ); $type = urldecode(

[PHP] Test

2004-01-23 Thread Ammar Ibrahim
Test Message -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session time-out value

2004-01-23 Thread John Nichel
John W. Holmes wrote: From: John Nichel [EMAIL PROTECTED] php_value session.gc_maxlifetime number of seconds I'm really curious to see if any of this really works. I know it _should_, but... Assuming a shared/virtual server where all session files for all sites are in the same location. When

[PHP] what PHP really needs

2004-01-23 Thread PHP general
There's 1 really important thing missing in PHP as I see it, and it's the ability to keep variables in memory for as long as the programmer choose. If this was possible there could be some truly great optimizations done. Some things are very slow to create but very fast to work with. I wrote a XML

[PHP] Re: Suggestion on executing external programs from within php

2004-01-23 Thread Ammar Ibrahim
maybe if you put Call1 and Call2 in seprate PHP files, and you call both of them. i guess it would work Ammar John Clegg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I would like to be able to execute 2 system calls simultaneously. I am not interested in the output and I would

Re: [PHP] Session time-out value

2004-01-23 Thread John Nichel
John W. Holmes wrote: If you just change the session.save_path variable for one site on your box to something like /tmp/onesite, do you still have to write your own garbage routine? Wont the autamatic php garbage collection know to only cleanup sessions in the /tmp/onesite directory? Is the

RE: [PHP] what PHP really needs

2004-01-23 Thread Jay Blanchard
[snip] [/snip] Learn and use C++ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what PHP really needs

2004-01-23 Thread Chris Boget
[snip] [/snip] Learn and use C++ Or sessions. Along with serialize() and deserialize(), all are your friends in this case. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: simple ?- load page after submit

2004-01-23 Thread John Nichel
Matt Hedges wrote: John, yes, it's from an auto incremement field in MySQL the id comes from a new db entry... i really appreciate your help, Matt Please reply to the group, and not just me. This way, other people who may have the same problem can find the answer in the archives. If it's

Re: [PHP] what PHP really needs

2004-01-23 Thread Ray Hunter
You can use shared memory too...only on *nix flavors though. -- Ray On Fri, 2004-01-23 at 12:42, PHP general wrote: There's 1 really important thing missing in PHP as I see it, and it's the ability to keep variables in memory for as long as the programmer choose. If this was possible there

Re: [PHP] what PHP really needs

2004-01-23 Thread John Nichel
On Fri, 2004-01-23 at 12:42, PHP general wrote: There's 1 really important thing missing in PHP as I see it, and it's the ability to keep variables in memory for as long as the programmer choose. If this was possible there could be some truly great optimizations done. Some things are very

Re: [PHP] what PHP really needs

2004-01-23 Thread Mike Migurski
There's 1 really important thing missing in PHP as I see it, and it's the ability to keep variables in memory for as long as the programmer choose. If this was possible there could be some truly great optimizations done. Some things are very slow to create but very fast to work with. I wrote

[PHP] Re: Suggestion on executing external programs from within php

2004-01-23 Thread Jas
Using system in this manner may work for small scripts/programs that only need authentication of the webserver. But for something like restarting a service I use a shell script run as a cron job then just call a system(touch /path/to/temp/file) which the cronjob looks at to see if it should

[PHP] Apology (Re: what PHP really needs)

2004-01-23 Thread John Nichel
Seems I struck a cord with some of the people on this mailing list with my Cold Fussion, ASP/.NET comment. I forgot to put my little smirk ;) after the comment. To those that I offended, I'm sorry. Just a FYI though, it's in my contract that I must hack on the MS people at least once a day.

Re: [PHP] what PHP really needs

2004-01-23 Thread John W. Holmes
From: Chris Boget [EMAIL PROTECTED] [snip] [/snip] Learn and use C++ Or sessions. Along with serialize() and deserialize(), all are your friends in this case. He's talking about the same set of data being available to all instances of PHP, though. I think they're called Application

[PHP] Re: XML to PDF with XSL

2004-01-23 Thread Ammar Ibrahim
If this is Possible, Please Tell me, i'm also very interested in this. Or if you know any method to 'find and replace' a string in a PDF file please also tell me e.g, i want to replace all occurnces of [name] with John From a PDF file on the server, when i open it ofcourse it won't have [name] as

Re: [PHP] Apology (Re: what PHP really needs)

2004-01-23 Thread Clint Tredway
Hey, no biggie.. MS people should get hacked at least once a day... :) John Nichel wrote: Seems I struck a cord with some of the people on this mailing list with my Cold Fussion, ASP/.NET comment. I forgot to put my little smirk ;) after the comment. To those that I offended, I'm sorry.

RE: [PHP] Apology (Re: what PHP really needs)

2004-01-23 Thread Chris W. Parker
John Nichel mailto:[EMAIL PROTECTED] on Friday, January 23, 2004 12:30 PM said: Seems I struck a cord with some of the people on this mailing list with my Cold Fussion, ASP/.NET comment. I forgot to put my little smirk ;) after the comment. To those that I offended, I'm sorry. Just a

RE: [PHP] what PHP really needs

2004-01-23 Thread Marlon Moyer
-Original Message- From: PHP general Sent: Friday, January 23, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: [PHP] what PHP really needs I've heard there's a feature like this in Cold Fusion, which every Cold Fusion user seems to think of as the holy grail, and I would have to

RE: [PHP] Segmentation fault problem

2004-01-23 Thread E. Stuart Hicks
Didn't help. I did, however, narrow it down to one line, though. ?php preg_match_all('|(\w+)://([^\s]*[\w+#?/=])|', This is a text string, $matches, PREG_SET_ORDER); ? This consistently crashes PHP with a seg fault. Stu -Original Message- From: E. Stuart Hicks [mailto:[EMAIL

Re: [PHP] what PHP really needs

2004-01-23 Thread Chris Shiflett
--- John W. Holmes [EMAIL PROTECTED] wrote: He's talking about the same set of data being available to all instances of PHP, though. I think they're called Application Variables. Yes, this is what he was talking about, which I think most people seem to have misunderstood to be something else.

[PHP] Why we love Microsoft (0t)

2004-01-23 Thread Ryan A
Hey all, heres something really interesting about that lovely company called microsoft...(heard of them?) Anyway, a 17yr old kid by the name of Mike Rowe opens up a webdesigning company and names it MikeRoweSoft (say it out loud..if you're really daft not to get it just be reading it)..then

Re: [PHP] what PHP really needs

2004-01-23 Thread Ryan A
Hey, I'm not really sure and am possibly wa off base but...cant something like this also be done by using global for variables? Cheers, -Ryan On 1/23/2004 9:33:55 PM, John W. Holmes ([EMAIL PROTECTED]) wrote: From: Chris Boget [EMAIL PROTECTED] [snip] [/snip] Learn and use C++

Re: [PHP] what PHP really needs

2004-01-23 Thread Chris Boget
I'm not really sure and am possibly wa off base but...cant something like this also be done by using global for variables? No, not really. That wouldn't be accessable by all users, which, as it turns out, is what the OP had asked for. Chris -- PHP General Mailing List

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Brian V Bonini
On Fri, 2004-01-23 at 16:00, Ryan A wrote: Hey all, heres something really interesting about that lovely company called microsoft...(heard of them?) Remarkable isn't it, I saw that article a few days ago. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Ryan A
Can I hijack an OT thread? NO, you may not. May you get boils and blisters all over your body for doing so and burn in hell for 300 years. Hehe, just kidding, I dont mind but if you do it to some of the others here they might not like it. ..then your professor may grade it. Of course,

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Tim Thorburn
At 04:00 PM 1/23/2004, you wrote: Hey all, heres something really interesting about that lovely company called microsoft...(heard of them?) Anyway, a 17yr old kid by the name of Mike Rowe opens up a webdesigning company and names it MikeRoweSoft (say it out loud..if you're really daft not to get

Re: [PHP] Session time-out value

2004-01-23 Thread Pushpinder Singh
Hello All, I tried to keep a .htaccess file in the Dir that my application esided in and kept the session lifetime of about 8 hrs. However I checked to see after 2 hr and it had already kicked me out of the system. Please advise. Thanks in advance Pushpinder Singh On Friday, January 23,

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Copyright and trademark are two wholly separate things. The Kimberly-Clark Corporation has a registered trademark on the name and logo for Kleenex. Thus, no one else has a right to use the word Kleenex to describe their product. That, however,

[PHP] HEAD method in PHP 4.1.2

2004-01-23 Thread Lucas Gonze
Hello PHP world, I need to fetch headers via a HEAD request. This is doable via context options as of PHP 5.0.0, but the PHP on this server is 4.1.2. Upgrading PHP is not an option. Does anybody know a way to do this? I realize I can write my own HTTP client requests, but doing a good job

Re: [PHP] Why we love Microsoft (0t) - JELLO

2004-01-23 Thread Roger Spears
Another big one is Jello It's a brand if I'm not mistakenthe product is gelatin Jello brand gelatin but all forms of pudding and gelatin are sometimes referred to as Jello... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why we love Microsoft (0t) - JELLO

2004-01-23 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As a humorous sidenote, I meant to say: let's hope that Windows (a registered trademark brand of Microsoft) doesn't get to the level of name recognition where the consumer refers to all graphical desktops as Windows. ;-) Roger Spears wrote: | Another

[PHP] Question about PEAR::raiseError use in XML_RPC client

2004-01-23 Thread Luis Cruz
Greetings; I recently grabbed the latest source for XML_RPC from CVS for use with a project I am working on. I grabbed the latest source rather than the stable build mainly because it includes a handy base class that defines a raiseError method. However, I am puzzled by own thing.

  1   2   >