[PHP] increasing max size to upload

2002-06-20 Thread Anil Garg
hi, how can i change the maximum size of the file being uploaded?? The line below does not seem to help me: input type=hidden name=MAX_FILE_SIZE value=25000 Do i need to make some more changes?? php ver i am using is mod_php4-4.1.2 I dont have a php.ini file anywhere!! i just have a file

Re: [PHP] increasing max size to upload

2002-06-20 Thread Tyler Longren
Change upload_max_filesize in php.ini to the value you desire. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Thu, 20 Jun 2002 12:12:33 -0400 Anil Garg [EMAIL PROTECTED] wrote: hi, how can i change the maximum size of the file being uploaded?? The

Re: [PHP] increasing max size to upload

2002-06-20 Thread Philip Olson
Rename php.ini-dist to php.ini and modify it according to your needs (also read all the notes contained within). Regards, Philip Olson On Thu, 20 Jun 2002, Anil Garg wrote: hi, how can i change the maximum size of the file being uploaded?? The line below does not seem to help me:

[PHP] Post

2002-06-20 Thread James Drabb
Hey PHPers, I was wondering if there is a setting to make PHP not change the posted data? For example I am posting a first and Last name and if I put in O'Hara for the last name PHP returns O\'Hara. I would prefer getting just O'Hara back and then replacing the ' with '' myself. I need to be

RE: [PHP] session code in class problem

2002-06-20 Thread Ford, Mike [LSS]
-Original Message- From: Mark Colvin [mailto:[EMAIL PROTECTED]] Sent: 20 June 2002 16:48 I have the following .php script and .inc file which doesn't work: = .inc file = ?PHP class Sessions { function Check_Session() session_start(); if

Re: [PHP] Post

2002-06-20 Thread Erik Price
On Thursday, June 20, 2002, at 12:19 PM, James Drabb wrote: I was wondering if there is a setting to make PHP not change the posted data? For example I am posting a first and Last name and if I put in O'Hara for the last name PHP returns O\'Hara. I would prefer getting just O'Hara

Re: [PHP] Post

2002-06-20 Thread Philip Olson
See these PHP directives: Directive:Default: -- magic_quotes_gpc on magic_quotes_sybase off If both are enabled, PHP will do what you want. magic_quotes_gpc is the PHP directive that essentially runs addslashes() on all your

RE: [PHP] calling a php file from javascript

2002-06-20 Thread Lazor, Ed
I don't know the complete answer. But, in case it helps, I can tell you that you'll need to research how to load standard web pages. In other words, this is a general Javascript / Flash question and PHP doesn't really play factor into your solution. -Original Message- how can I call

RE: [PHP] Error Reporing Questions with Mac

2002-06-20 Thread Lazor, Ed
Why would this be the case? PHP is server-side and client independent... -Original Message- Your problem is undoubtably to do with the difference in line endings on mac/pc/unix. This message is

RE: [PHP] getting values by a joints mysql query

2002-06-20 Thread Lazor, Ed
You need to establish a relation between the two tables to complete the join with something like: AND G.GID = U.GID Also, this is not a PHP related question. You should also be directing this to the MySQL mailing list. -Original Message- Im having problem in getting the the

RE: [PHP] POST v. GET

2002-06-20 Thread Matt Schroebel
after you read this web page (take you no more than 15 minutes), you should consider browsing the actual HTTP spec, though it's pretty technical and is very long. I've html'd the RFC2616 for easier reading and you can find it at http://www.php-faq.com/httpintro.php -- PHP General Mailing

[PHP] res_search dn_expand undefined reference php 4.2.1 / apache 1.3.26 / redhat 6.2

2002-06-20 Thread Dan Harrington
Hey everyone, I'm getting this error regarding the PHP source files when compiling Apache. These are the arguments I used to configure php 4.2.1: ./configure --with-apache=../apache_1.3.26 \ --with-jpeg-dir=/usr/local/lib --with-pgsql --with-gd \ --with-ttf=/usr/local/lib

[PHP] Passing URL as variable

2002-06-20 Thread Lisi
I have the following link in my code: clickrate.php?site=sitenamelink=http://www.clientsite.com/store.php?id=430action=menu There are two variables I am trying to pass to clickrate, site and link. The full link is http://www.clientsite.com/store.php?id=430action=menu. The problem is that

Re: [PHP] Passing URL as variable

2002-06-20 Thread Chris Boget
The problem is that since the link itself has variables being passed, action is being passed as a separate variable and the full link is getting cut off. I tried using htmlspecialchars, and surrounding the link with quotes, but nothing worked. You can try urlencode(). The problem with

Re: [PHP] Passing URL as variable

2002-06-20 Thread Michael Sweeney
You need to run the link value through urlencode() before you stick it in the url. When you need to read it as a legal url again, pass it through urldecode(). ..michael.. On Thu, 2002-06-20 at 11:20, Lisi wrote: I have the following link in my code:

[PHP] How to read the Exchange databases?

2002-06-20 Thread Barajas, Arturo
Hi, list. I'm starting an application, running Apache + PHP + MySQL under WinNT. I need a user database, and all the users are on the Exchange Server database. Does anyone know how can I read that database or connect to it? I'm already running the NTLM module, so I can validate my users

Re: [PHP] Passing URL as variable

2002-06-20 Thread Lisi
Thanks, I knew there was a function I was missing. Most links being passed to clickrate do not have this particular problem. Is it a problem if I pass all URL through urldecode, for those cases when I need it, i.e. will it mess up a URL that hasn't been encoded with urlencode? Thanks, -Lisi

Re: [PHP] Passing URL as variable

2002-06-20 Thread Chris Boget
Most links being passed to clickrate do not have this particular problem. Is it a problem if I pass all URL through urldecode, for those cases when I need it, i.e. will it mess up a URL that hasn't been encoded with urlencode? Run a little test script to see for yourself, but I don't

Re: [PHP] How to read the Exchange databases?

2002-06-20 Thread Scott
I think there is a way to export the user list in the Exchange Server Manager into a csv file. It would not be real time, but would get you the list. On Thu, 20 Jun 2002, Barajas, Arturo wrote: Hi, list. I'm starting an application, running Apache + PHP + MySQL under WinNT. I need a

RE: [PHP] Include/require

2002-06-20 Thread Michael Sweeney
Be careful not to get confused between a chrooted environment like the web server or ftp server and php include paths. PHP handles the include and require parameters either as absolute (eg /inc/filename is an absolute path from / - it is not relative to the web docroot.) or relative to the

RE: [PHP] Netiquette

2002-06-20 Thread Lazor, Ed
Concise is also good ;) *gives Erik a noogie* Erik wrote: I was going to stay out of the thread, because people have ways of doing it that they are set in, but this is really the crux of it -- allow me to extrapolate on what Dan said. Please realize that these aren't fire and

[PHP] Escaping escaped chars

2002-06-20 Thread Gerard Samuel
Im trying to move some binary strings from mysql to postgresql, and the binary strings has escape chars '\' in them. I was told to double escape them like so - '\\\' Here is what Im trying - $data = '\0P Z\0Îê˜Úµ'; // This is a representation from an mysql dump $data2 = str_replace('/\',

Re: [PHP] Escaping escaped chars

2002-06-20 Thread Michael Sweeney
Just escape the \ with a single escape character. eg. your string '\0P Z\0Îê˜Úµ' would end up as '\\0P Z\\0Îê˜Úµ' - each \ simply escapes the backslash following it. If you add two backslashes, you end up with one too many which is what the error is referring to. ..micahel.. On Thu,

RE: [PHP] Netiquette

2002-06-20 Thread Johnson, Kirk
Foul! Top-post ;) *gives Ed a noogie* Concise is also good ;) *gives Erik a noogie* Erik wrote: I was going to stay out of the thread, because people have ways of doing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date Comparsion

2002-06-20 Thread Lazor, Ed
Check out the date() and mktime() functions. -Original Message- Now i want to compare the leave_from and leave_to date to find out the number of days between! What should i do or any function in php can provide this operation?

Re: [PHP] Escaping escaped chars

2002-06-20 Thread Gerard Samuel
One of the guys over on the php-db list told me that to store the binary string correctly in postrgresql, that I would have to double quote whats already there. So in essence, by the time it hits the database, it has to be - \\\0P Z\\\0Îê˜Úµ Any suggestions to modify the string like this...

[PHP] Status code and Header(Location: )

2002-06-20 Thread Peter Thoenen
PHP Manual says there are two special cases for headers, Location and Status. Not to concerned about status here, but it states that Location: always returns an status code 302. Now HTTP/1.1 depreciates 302 since browsers were incorrectly implementing it anyways. It was replaces 302 with the

[PHP] Re: more upload problem

2002-06-20 Thread Andy
anil wrote i am getting the following warning message: Warning: Unable to open 'none' for reading: No such file or directory in /z/mercury/www/data/content/admin/do_upload.php on line 40 /anil wrote Hi anil, it seems to me that you are not getting the filename. Check if the filename which

[PHP] Can I be an ASP with PHP?

2002-06-20 Thread René Fournier
I have a question to which I'm pretty sure the answer will be no, but I would like to hope I'm wrong... I've developed a very simple Content Management tool--called Europa--that even retarded monkeys can use to change/update text in their web site. It's web-based, user-authenticated

[PHP] Re: How to remove the first element of an array?

2002-06-20 Thread Andy
Hello Leon, try array_shift http://www.php.net/manual/en/function.array-shift.php Hope this helps, Andy -- http://www.globosapiens.net Global Travellers Network! Leon Mergen [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL

[PHP] Re: JPGrapgh and GD Library SAMBAR server

2002-06-20 Thread Andy
Hi Christopher, it seems to me that you have gd1.8 enabled but jdgraph in you version requires gd2. Check your php.ini if the propper library is activated. Hope this helps, Andy -- http://www.globosapiens.net Global Travellers Network!

Re: [PHP] Can I be an ASP with PHP?

2002-06-20 Thread Erik Price
On Thursday, June 20, 2002, at 02:29 PM, René Fournier wrote: The idea: In order for Joe User to update text on his web site, he comes to my Europa web site, enters his company name, user ID, password, and clicks Login, and--voilà--he sees a handsome list of tables containing the text

[PHP] HTTP_POST_VARS Question

2002-06-20 Thread Chris Sechiatano
Hi, Just a simple question about the HTTP_POST_VARS. I know my forms will work if I use only the name of the input. Say a text box called FirstName. I can just do: print $FirstName; and everything works fine. Why would I want to use print $HTTP_POST_VARS[FirstName]; instead? Thanks --

Re: [PHP] HTTP_POST_VARS Question

2002-06-20 Thread Erik Price
On Thursday, June 20, 2002, at 02:41 PM, Chris Sechiatano wrote: Just a simple question about the HTTP_POST_VARS. I know my forms will work if I use only the name of the input. Say a text box called FirstName. I can just do: print $FirstName; and everything works fine. Why would I

RE: [PHP] Can I be an ASP with PHP?

2002-06-20 Thread Lazor, Ed
René, My 10 cents: For a monthly fee, host sites and promote your software (and updates) as part of the service. Or, sell the software and offer upgrades at a price. This option isn't as attractive though. It's much more expensive upfront and means the customer will have to deal with managing

[PHP] Using PHP and Apache's .htaccess files.

2002-06-20 Thread Todd Fernandes
Here is my question. It involves using PHP and apache's .htaccess files. What I basically want to know is, how do I redirect a bas user after a failed Authentication attempt. Example: One PHP script checks to see if $PHP_AUTH_USER is set and if not calls header( sprintf(WWW-authenticate: basic

Re: [PHP] Status code and Header(Location: )

2002-06-20 Thread Rasmus Lerdorf
Line 706 of php4/main/SAPI.c implements this. Go ahead and submit a patch and we will consider it. -Rasmus On Thu, 20 Jun 2002, Peter Thoenen wrote: PHP Manual says there are two special cases for headers, Location and Status. Not to concerned about status here, but it states that

Re: [PHP] Can I be an ASP with PHP?

2002-06-20 Thread Michael Sweeney
On Thu, 2002-06-20 at 11:29, René Fournier wrote: And this is the trick: Can PHP somehow fetch MySQL data over the Internet? Is this possible? If so, is it necessary for me to resort to new, unknown technologies like XML or SOAP, or can I do it with PHP alone? PHP can fetch (and

RE: [PHP] Using PHP and Apache's .htaccess files.

2002-06-20 Thread Matt Schroebel
-Original Message- From: Todd Fernandes [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 3:07 PM The way I have it working now is that I check to see if $PHP_AUTH_USER is set, and if it is, I send them to the page that is a directory down behind the .htaccess file.

[PHP] Red Hat PHP

2002-06-20 Thread Phil Schwarzmann
I'm trying to install a PHP server on Linux Red Hat 7.3 I have a reformatted PC and some burned disks of RH 7.3 that my CD-ROM won't detect when it reboots. How do I get RH 7.3 loaded? I've tried using the rawrite.exe function but it always hangs at a DOS prompt when I run this file.

RE: [PHP] Red Hat PHP

2002-06-20 Thread Lazor, Ed
Good question. Please refer to the RedHat mailing list for assistance. -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: [PHP] Red Hat PHP I'm trying to install a PHP server on Linux Red

[PHP] Memory Size (4.1.2 vs 4.2.1)

2002-06-20 Thread Eli White
Ok, thanks to everyone's help here, I just finished doing a minimalistic compile of PHP 4.2.1, (removing mysql, posix, session, and xml). However, I then replace my existing 4.1.2 with it (yeah, I was upgrading at the same time - If I had to recompile, might as well) And I was suprised, even

[PHP] Re: Using PHP and Apache's .htaccess files.

2002-06-20 Thread Andy
hello Todd, there is a directive where you can redirect errors to certain pages withhin the htaccess file. I do not remember the exact syntax, but it looked like... ErrorDocument 401 /root/to/your/file.html Please check the apache docs it this does not work. Andy --

Re: [PHP] Date Comparsion

2002-06-20 Thread 1LT John W. Holmes
I never saw the original post, but you'll want to use the TO_DAYS() function in your query. SELECT TO_DAYS(leave_to) - TO_DAYS(leave_from) AS Num_Days FROM your_table ---John Holmes... - Original Message - From: Lazor, Ed [EMAIL PROTECTED] To: 'Jack' [EMAIL PROTECTED]; [EMAIL

[PHP] Architecture problem? Google want index files exept the main page.

2002-06-20 Thread Andy
Hi guys, I did recently launch my first web site and I am asking myself why google is only indexing the first page. To get a better index on other search engines I am passing parameters a bit strange and the dynamic pages look more like static ones. So I hope this was not a shoot in a hole :-(

[PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Pekka Saarinen
Hi, Is there any way to determine script's memory usage? What about execution time in ms (with breakpoints)? And is there way to measure MySQL query speed in ms? Thanks Pekka http://photography-on-the.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] insert date with a calendar

2002-06-20 Thread David Freeman
user input, which is not always reliable, has to be in the correct format. What I've done for things like this is to have three separate select form elements. The first for selecting a day of the month. The second for selecting a month and the third for selecting a year. I usually set the

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread 1LT John W. Holmes
Is there any way to determine script's memory usage? Depends on your web server. There is a way in apache. Rasmus answered this same question for me a couple weeks ago, look through the archives. I saw an option in IIS to put memory usage into the logs, that may work, too. What about

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Uros Gruber
Hi! Thursday, June 20, 2002, 10:56:40 PM, you wrote: PS Is there any way to determine script's memory usage? When you configure and compile you have some option --with-memory-limit something like that and then add \%{mod_php_memory_usage}n\ in you http.conf of Apache where you define how

Re: [PHP] Re: JPGrapgh and GD Library SAMBAR server

2002-06-20 Thread Nico Jansen - NiRo IT Consultants B.V.
Hi Christopher, I think that we have the same configuration. I'm running PHP with the SAMBAR server as well and the JP Graph module is working OK with me so it should be working. Have you tried the JP Graph - testsuit : On my notebook ( W2K ) I installed it at

Fw: [PHP] Architecture problem? Google want index files exept the main page.

2002-06-20 Thread Kevin Stone
It took me a few minutes to figure out where the /profiles link was on your hompage. You understand that the only way a spider can read the content on your webpage is to fopen() and parse the contents. Google's software cannot explore your dynamic content like a human can. If the random

Re: [PHP] alternatives? (Was: Shot in the dark)

2002-06-20 Thread Chris Garaffa
Hello, any chance you could set your clock to the correct date? It says July 6, and is really screwing up my sorting order for mail... thanks On Saturday, July 6, 2002, at 04:49 PM, jtjohnston -- Chris Garaffa [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] Installing Syncronizing

2002-06-20 Thread César Aracena
Hello all, I have this client who has a T connection and would like to run a PHP / MySQL based program in local mode, but also be able to make the data available from the web but hosted in a remote server… kinda strange u think? Me too… The problem is that his server doesn’t run with IIS but

Re: [PHP] alternatives? (Was: Shot in the dark)

2002-06-20 Thread John Taylor-Johnston
Sorry Chris, It's set at June 20th here? Maybe my NNTP server? John Chris Garaffa wrote: Hello, any chance you could set your clock to the correct date? It says July 6, and is really screwing up my sorting order for mail... thanks On Saturday, July 6, 2002, at 04:49 PM, jtjohnston

RE: [PHP] How many copies

2002-06-20 Thread Martin Towell
For the first question: Will this work? In class A, you wont get anything when you use $this-bar if the class hasn't been instantiated. besides that fact, you'll should get the output of: settig:bar+foo if you call A::foo(); As for the second question: How many times A will be made answer: zero

[PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
U... Does anybody know why this doesn't work... Example: $cap = 16383; $cap1 = dechex($cap); // cap1 is now equal to 3FFF; $bit = ($cap1 | 0x01); //bit should equal 3FFF, but it doesn't.. it is always = 3 !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] include() question...

2002-06-20 Thread Phil Schwarzmann
Okay, let's say I want to send a user to a certain webpage... usually I would use... include(website.php); but, if i want to send a user to a website along with a variable like... $temp = website.php?var=.$var; include($temp); ...this doesn't work. any suggestions?? THANKS!!

RE: [PHP] Hex operations

2002-06-20 Thread Martin Towell
looks like it's trying to treat $cap1 as a decimal number, and not a hex number have a look at this: for ($cap = 0; $cap 64; $cap++) { $cap1 = dechex($cap); $bit = ($cap1 | 0x01); echo $cap - $cap1 - $bit\n; } and you'll see what I mean... -Original Message- From: Frank S.

Re: [PHP] include() question...

2002-06-20 Thread Purushotham Komaravolu
use header ob_start() $temp = website.php?var=.$var; header (Location: $temp); Puru - Original Message - From: Phil Schwarzmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 4:31 PM Subject: [PHP] include() question... Okay, let's say I want to send a user to

[PHP] session in class problem

2002-06-20 Thread ninti
Try enclosing the function code in brackets: function Check_Session() { code goes here } Mick Quoting Mark Colvin [EMAIL PROTECTED]: I have the following .php script and .inc file which doesn't work: = .php file = ?PHP // Include function files

Re: [PHP] include() question...

2002-06-20 Thread Philip Olson
but, if i want to send a user to a website along with a variable like... $temp = website.php?var=.$var; include($temp); ...this doesn't work. Example: ?php $var = 'foo'; include 'somefile.php'; ? somefile.php now has access to $var. This is talked about in the manual too:

RE: [PHP] include() question...

2002-06-20 Thread David Freeman
Okay, let's say I want to send a user to a certain webpage... usually I would use... include(website.php); but, if i want to send a user to a website along with a variable like... $temp = website.php?var=.$var; include($temp); ...this doesn't work. If you are

RE: [PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
I think the goofy variable is getting truncated (3FFF | 4) is returning 7 (4FFF | 4) is returning 8 -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 6:37 PM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: RE: [PHP] Hex operations

RE: [PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
sorry... (4FFF | 4) is returning 4 -Original Message- From: Frank S. Kicenko Sent: Thursday, June 20, 2002 7:34 PM To: Martin Towell; [EMAIL PROTECTED] Subject: RE: [PHP] Hex operations I think the goofy variable is getting truncated (3FFF | 4) is returning 7 (4FFF | 4) is

[PHP] Questions on uploading files.

2002-06-20 Thread By Proxy
Hi, sorry if this is one of those oft-answered questions, but... I am using the script below to upload a file to the server, however if I upload a file, say, 'pamnude.jpg' then the tmp path, file name and file size are returned but not the mimetype. Why could this be? Also, I read about there

Re: [PHP] insert date with a calendar

2002-06-20 Thread Justin French
When users have to enter dates on my forms, I always provide them with three drop-down menus, for day (1-31), Month (1-12) and year (usually current year, the next and the next, depending on the application). Then I have three values on the next page ($_POST['day'], $_POST['month'],

Re: [PHP] Error Reporing Questions with Mac

2002-06-20 Thread Justin French
Ed, Read the rest of the email. The problem WASN'T to do with what CLIENT was reading the page at the time, it was to do with what SERVER was running the PHP code. Saving his text files onto the Mac, and then trying to run them produced Error on line 1, whilst saving and running the code on

Re: [PHP] Can I be an ASP with PHP?

2002-06-20 Thread Justin French
1. the problems of licensing, copyright, people who don't pay, etc etc could all be handled with a decent license agreement/contract and a lawyer to follow up any possible bad apples. 2. usually people connect to MySQL as localhost, but you can connect to the server remotely IF the server allows

RE: [PHP] read how many caracter

2002-06-20 Thread John Holmes
i want read how caracter from onepage like this asasassasa sasassasa sasasassas sasassasasa sasasassasa Yes, I want to one give you answer like this, okay? Thanks, no. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP, Java integration failed: Red Hat 7.1, JDK 1.4, Apache 1.3x

2002-06-20 Thread William John Burns
All: None of the many online user posts in setting up Java connectivity from within PHP have worked. RPM or tarball. Do you know of anyone who has an RPM of PHP, with the standard MySQL, GD, Postgres, WDDX, etc...but also libphp_java.so correctly set-up? The Windows PHP has Java support

[PHP] How to Show my Own Error Message Instead of Mysql Error?

2002-06-20 Thread Jack
Dear all i made a Registration Form for user to input their Data, but i also had some Field Check before the data can be insert to the Mysql_Database! I had a question here, sometime the mysql shows the error : Duplicate Key for xxx I know what is this about, reguarding to my Registration Form,

RE: [PHP] How to Show my Own Error Message Instead of Mysql Error?

2002-06-20 Thread Martin Towell
what about doing a select count(*) from table where username = 'foobar' then, if ($cnt 0) { /* display error */ } else { /* insert new username */ } -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 2:07 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED];

Re: [PHP] Installing Syncronizing

2002-06-20 Thread Mark
I think you're confused. the only WinGate I know of is an alternative to windows' internet connection sharing. It's not a web server. and what's a T connection? On Thu, 20 Jun 2002 19:26:37 -0300, César Aracena wrote: Hello all, I have this client who has a T connection and would like to run a

[PHP] Script text

2002-06-20 Thread sonjaya
I have capture serial port (pabx phone) ,and get the file dat like in attachement. So iwant make some page for read that conten in the file I just take some part like this 1.date 2.extension 3.long 4.number Exsample : 17/06/02 07:27:3008 00:00:59 437 2034224 16/06/02 08:11:2506

[PHP] Mysql Insert from select problem with php

2002-06-20 Thread David McInnis
After posting this on the MySQL list and getting some feedback we were able to determine that this was not a flaw with MySQL. Any ideas from the PHP community? === Can anyone tell me why this does not work? I am using php and mysql. When I do an insert from select into a mysql table I

[PHP] Re: How to Show my Own Error Message Instead of Mysql Error?

2002-06-20 Thread Andy
jack But i want to show my own message to the user for this error . /jack hello Jack, do a check of the insert was successfull and redirect with php to your original page and include a error var e.g if (!mysql...) HEADER(LOcation:file.php?error=mysqlfailed Then on your sign up page do

[PHP] Re: Mysql Insert from select problem with php

2002-06-20 Thread Andy
why don't you do a quick fix and just add addslashes again if obviously there is no escap slash present right now? Good luck, Andy -- http://www.globosapiens.net Global Travellers Network! David McInnis [EMAIL PROTECTED] schrieb im