Re: [PHP] A PHP Editor

2001-07-27 Thread Miles Thompson
Augusto, This has been exhaustively covered, and I believe someone has set up a page that deals specifically with PHP and editors. You can search the archives, however, at http://www.php.net/search.php Use editor as your search term, pick the general list, and there are scores of messages.

[PHP] Re: Moving a PHP/MySQL web site ???

2001-07-27 Thread Owen Rudge
You can use phpmyadmin to dump the database into .sql files and then use phpmyadmin again on the new server to import it. -- Owen Rudge http://www.owenrudge.co.uk/ http://www.gamearchive.uk.tt/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
I have a frameset that runs on a SSL enabled server that has two frames in it. One of the source is the local machine and the other one is a (outsourced asp !!) script in another machine without SSL. The non SSL one requires HTTP_REFERER to make sure it was hit from the authorized server. This

[PHP] --with-imap-ssl

2001-07-27 Thread Held Markus
Hello, i have a big problem. I want to compile php4.0.6 ./configure --with-imap --with-imap-ssl=/usr/lib checking for IMAP support... yes checking for pam_start in -lpam... (cached) yes checking for Kerberos support in IMAP... no checking for SSL support in IMAP... yes configure: error:

RE: [PHP] installing php as cgi on linux

2001-07-27 Thread Jon Snell
This is a long shot, but... MSIE has a nasty habit of saving the mime type of a page. If you attempted to load the URL before PHP was set up properly, it won't load until after you closed IE and reopened. -Original Message- From: Richard Kurth [mailto:[EMAIL PROTECTED]] Sent: Friday,

[PHP] idiotic question

2001-07-27 Thread Jerry Lake
for the life of me I can't remember how to convert a string to just the first letter of itself i.e. $string = test ...a function $string_first = t I must be thinking in circles today. Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online -

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Rasmus Lerdorf
I have a frameset that runs on a SSL enabled server that has two frames in it. One of the source is the local machine and the other one is a (outsourced asp !!) script in another machine without SSL. The non SSL one requires HTTP_REFERER to make sure it was hit from the authorized server.

Re: [PHP] idiotic question

2001-07-27 Thread mike cullerton
on 7/27/01 3:46 PM, Jerry Lake at [EMAIL PROTECTED] wrote: for the life of me I can't remember how to convert a string to just the first letter of itself i.e. $string = test ...a function $string_first = t $word = substr($word,0,1); -- mike cullerton -- PHP General Mailing List

Re[2]: [PHP] installing php as cgi on linux

2001-07-27 Thread Richard Kurth
Hello Jon, tried that it still just wants to download it Friday, July 27, 2001, 2:49:14 PM, you wrote: Jon Snell This is a long shot, but... MSIE has a nasty habit of saving the mime type Jon Snell of a page. If you attempted to load the URL before PHP was set up properly, Jon Snell it won't

[PHP] top reports Status D

2001-07-27 Thread Werner Stuerenburg
Sorry, I don't know if this is a php or Apache or MySQL or even Linux problem. Any suggestion would be of help. Server Version: Apache/1.3.19 (Unix) PHP/4.0.4pl1 MySQL 3.23.33 When watching top, things go nicely for a while. If there is high load, it is significant that mostly httpd processes

Re: [PHP] HTTP_REFERER is missing in SSL

2001-07-27 Thread Ezra Nugroho
Bug in IE? PHP doesn't even enter the picture here. The HTTP_REFERER variable is defined by the web server if that information is provided by the browser. No, it's not really a PHP thing, it's more HTML stuff. I suspect that the error comes because one of the server is not running SSL, so IE

[PHP] mkdir

2001-07-27 Thread Jerry Lake
when using mkdir I cant seem to make subdirectories ? $oldumask = umask(0); mkdir('test/test', 0777); umask($oldumask); ? is there any way to do this ? Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com --

Re: [PHP] best php editor

2001-07-27 Thread Chip
Martin Marconcini wrote: LOL :) I didn't ... perhaps I used an old version... Must've been an old version, I've been using it for close to a year and haven't had it crash nearly as much as expected for a winblows app (at work on winnt4). Wish there was a *nix port of it. -- Chip Regards,

Re: [PHP] Example high-profile PHP sites

2001-07-27 Thread Ryan Fischer
You wrote: While I do appreciate people's contributions, let me frame the discussion a little. The person I need to convince is an administrator of an organization within North America, and he's never heard of PHP. The response I'm hoping to provoke in him is something like this: You mean

Re: [PHP] substr question...

2001-07-27 Thread Ryan Fischer
You wrote: I am trying to receive file names but can't quite figure out the proper substr to do it: jeff.dat jeffrey.dat chris.dat tom.dat I want to receive the name to the left of the .dat Jeff $file = array(jeff.dat, jeffrey.dat, chris.dat, tom.dat); for($i=0; $icount($file); $i++){

[PHP] FORCING A PHP OUTPUT TO BE CACHED

2001-07-27 Thread Randy Johnson
Is it possible to force a confirmation page that is displayed via a post operation to be cached so it will not rerun the script when somebody hits the refresh button? I am hoping it is easy as using a header thanks in advance Randy -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: [PHP-DEV] Passing JavaScript variables to PHP

2001-07-27 Thread Markus Fischer
On Fri, Jul 27, 2001 at 04:31:51PM -0500, Craig Gardner wrote : Is there any way to pass JavaScript variables to PHP? This doesn't belong in here; this list is for the development OF php and _not_ WITH. Ask at [EMAIL PROTECTED] - Markus -- Markus Fischer, http://guru.josefine.at/~mfischer/

RE: [PHP] Please Please Pleeeeaaaaaaaaaasssssssseeeeeee

2001-07-27 Thread Ben Bleything
There are a wealth of available scripts at other websites... www.hotscripts.com for instance... I find it unlike at this point that anybody will send you anything... Just go there, or to SourceForge, and you'll find all you need. Ben -Original Message- From: Kyle Smith [mailto:[EMAIL

[PHP] auto refresh in every five seconds.

2001-07-27 Thread Mark Lo
Hi, I would like to know how to do a auto refresh in every five seconds. Thanks Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] auto refresh in every five seconds.

2001-07-27 Thread Matt Greer
- Original Message - From: Mark Lo [EMAIL PROTECTED] To: php general [EMAIL PROTECTED] Sent: Friday, July 27, 2001 10:40 PM Subject: [PHP] auto refresh in every five seconds. Hi, I would like to know how to do a auto refresh in every five seconds. This isn't php, and

[PHP] Stripping single quotes

2001-07-27 Thread Matt Stone
Hi all, I am trying to validate some email addresses before they are entered into the database. The problem is, some thick or malicious people are entering single quotes into their email addresses. I need to strip out all these single quotes but a little ole' str_replace doesn't seem to be

[PHP] PHP on win2k/Weblogic?

2001-07-27 Thread Rory O'Connor
I have been using PHP/MySQL to build alot of little utilities (like form mailers, contact DBs etc.) for my sites on linux and freebsd, but I just got a client requiring a win2k server running WebLogic (for JSP purposes). Can I even install PHP in that environment and if so, would it conflict

[PHP] Adding scripts

2001-07-27 Thread Tim Thorburn
Hi, I'm creating a very simple script (or so I thought) in which a user can select items from a form, the script will take the number values of those items and do two things: display the names of the items selected, and add the items together and give the user a total price including taxes.

[PHP] install PHP --with-java on FreeBSD. No luck.

2001-07-27 Thread SlowPork
Hello. After I compiled PHP with Java support, I instantiated new class [ eg.? $system = new Java('java.lang.System'); ? ]. I got blank response, and that child of Apache died. Is this a bug that I should report? or I'm missing somthing here? Any expert please give me some

Re: [PHP] Dumping fields.....

2001-07-27 Thread Dell Coleman
Hi Looks like the range of the TR block overlaps the range of the TH block I usually generate all the TH stuff first You can then generate the TR TD and data elements as needed after that for each row HTH Jeff Lewis wrote: Using this function to dump a table, having a problem outputting

RE: [PHP] File Upload Size Limits

2001-07-27 Thread Gunther E. Biernat
I once had the same problem in a similar environment, but I never worked on it to fix it because it was sufficient for the given purpose. Later, I moved the script 1:1 (including php.ini) to a server running caudium as web server software and the problem was gone... Huh? Did anyone have any

Re[2]: [PHP] IE - View Source

2001-07-27 Thread Morten Winkler Jørgensen
Besides... do you REALLY have anything so mind bogglingly original in your code that you have to go to all these extremes to protect it? MG That's what I've never understood about people wanting to hide their source. MG HTML isn't rocket science. Any server side scripting won't be seen, and

Re: [PHP] Re: Stripping HTML

2001-07-27 Thread Jon Yaggie
hmm i think there is a function specificlly for html. but i am not sure have you tried strip_tags() it will remove html and php tags from a string . . . Thank You, Jon Yaggie www.design-monster.com And they were singing . . . '100 little bugs in the code 100 bugs in the code fix one

[PHP] how is it possible?

2001-07-27 Thread Balaji Ankem
Hi! dearest friends, i am able to connect to mysql server through php program and i am able to do operations on the database like choosing particular database and inserting the data in to table,deletion and modification and all.. But from dos prompt i am able to connect to mysql

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-27 Thread elias
yes, sort of... both have same number. Alexander Skwar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : first field is the primary key and is called 'id' and is an integer, and i want another field of type

Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-27 Thread elias
thanks David ;) David Robley [EMAIL PROTECTED] wrote in message 0107261823110B.03813@www">news:0107261823110B.03813@www... On Thu, 26 Jul 2001 19:13, elias wrote: Hi. Usually, Any AUTO_INCREMENT field in MySql table will have always an incrementing value. Now Suppose I emptied the

Re: Re: [PHP] Re: Stripping HTML

2001-07-27 Thread Tobe Johnson
Du. Why didn't I catch this from the docs?! Way to much coffee Thanks VERY much for your help. Sorry to be a bother. Tobe Johnson Johnson Associates, Inc. http://www.johnsons.net Free web based email and web sites -Original Message - From: 'Jon Yaggie' [EMAIL PROTECTED]

[PHP] best php editor

2001-07-27 Thread Daniel Goldin \(E-mail\)
Recently there's been a thread about what editor is best for PHP. I have discovered a new (for me) fantastic editor for HTML, PHP and other scripting languages. It is called HTML-kit! I absolutely love it and felt I had to share that love with you all. It is free. A little like Homesite, except

[PHP] session gc question

2001-07-27 Thread Greg Donald
Is is possible to set session.gc_probability manually on a per script basis, similar to the way error reporting is capable of being set? Thanks, -- --- destiney - (des-ti-ny) - n. 1. deity of all things html, 2. common

[PHP] help regarding mysql

2001-07-27 Thread Balaji Ankem
Hi friend, i am unable to connect to mysql server today. windows 98 machine. PHP 4.0.6 and Mysql 3.23.36 c:\mysql\bin mysql -u balaji -p password:*//pingpong But i am able to connect through php. what is the wrong? please help out me. Thanks in advance. Regards -Balaji The

Re: [PHP] help regarding mysql

2001-07-27 Thread Daniel Rezny
Hello Balaji, Friday, July 27, 2001, 9:12:28 AM, you wrote: BA Hi friend, BAi am unable to connect to mysql server today. BA windows 98 machine. PHP 4.0.6 and Mysql 3.23.36 c:\mysql\bin mysql -u balaji -p BA password:*//pingpong BA But i am able to connect through php. what is

Re: [PHP] fopen - warnings

2001-07-27 Thread Nessi
That works! Thanks a lot :) Cheers, Nessi At 17:11 26/07/01 , you wrote: try @fopen(categories.txt,r+); - Original Message - From: Vanessa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 12:05 PM Subject: [PHP] fopen - warnings Hello List, this is probably a

Re: [PHP] help regarding mysql

2001-07-27 Thread Balaji Ankem
Hello! Daniel, i have given c:\mysql\bin mysql --host=localhost -u balaji -p password://i entered correct password. ERROR:1045 Access denied for user : 'balaji@localhost' (Using password:YES). But through php program it is connecting... I don't know what is the reason...But it is giving

Re: [PHP] ascii of euro

2001-07-27 Thread Alexander Wagner
Karl Phillipson wrote: Does anyone know what the ascii version of a euro symbol is? There is none. regards Wagner -- Madness takes its toll. Please have exact change. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: An integer?

2001-07-27 Thread Dan Hardiker
Why not just use a regular expression match to see if there is anything other than numeric characters? That will tell you if it is an integer before you do the type casting. (sorry if that sounds a little obvious but no-one seems to have suggested it) - Dan Unknown Sender [EMAIL PROTECTED]

Re: [PHP] ascii of euro

2001-07-27 Thread George Pitcher
According to my character map, its 0128 ... if its on the font. George, Edinburgh - Original Message - From: Alexander Wagner [EMAIL PROTECTED] To: Karl Phillipson [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 27, 2001 9:25 AM Subject: Re: [PHP] ascii of euro Karl

RE: [PHP] best php editor

2001-07-27 Thread Martin Marconcini
languages. It is called HTML-kit! I absolutely love it and felt I had to share that love with you all. It is free. A little like Homesite, except better in my view. Certainly far more feature-rich for PHP scripting. Unless I'm missing some serious drawback, it's the best editor for web

Re: [PHP] problem while reading on sockets ...

2001-07-27 Thread Arnauld Dravet - smurfie
well because i'm not connecting to a web server ... - Original Message - From: David Robley [EMAIL PROTECTED] To: Arnauld Dravet - smurfie [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 27, 2001 3:35 AM Subject: Re: [PHP] problem while reading on sockets ... On Thu, 26 Jul

[PHP] Euro Ascii value

2001-07-27 Thread ani
Ascii Euro value: Dec# 128 Hex# 80 if its on the font -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] ascii of euro

2001-07-27 Thread Alexander Wagner
George Pitcher wrote: According to my character map, its 0128 ... if its on the font. What character map is that? Ascii? Ascii is way older than that symbol and has not been changed for quite a while, I think, if it ever has. Do you mean Ansii? Or Iso-8859-15? regards Wagner -- Madness

[PHP] Euro asccii value

2001-07-27 Thread Aniceto Lopez
Ascii Euro value: Dec# 128 Hex# 80 if its on the font

[PHP] $str = var_dump()

2001-07-27 Thread elias
Hello! Actually, var_dump() dumps directly the structure/content of a variable to the browser... Now is there is anyway to capture this output and assign it to a string and then store it to a file? for logging/debugging purpose? $str = var_dump($arrays); echo on [time] [date] varname

[PHP] Re: running a function after a form submit

2001-07-27 Thread elias
why don't you save just before the submit was clicked? what if he clicks submit and then he quickly closes and cancels everything out? (you just saved for vain!) Richard Kurth [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is there a way to run a function when a

Re: [PHP] best php editor

2001-07-27 Thread elias
Then you must be one of the 3% who voted Bad at cnet.com ;) Martin Marconcini [EMAIL PROTECTED] wrote in message 001401c11673$9b2926a0$[EMAIL PROTECTED]">news:001401c11673$9b2926a0$[EMAIL PROTECTED]... languages. It is called HTML-kit! I absolutely love it and felt I had to share that love

[PHP] Re: best php editor

2001-07-27 Thread elias
It is free. How it's for free? and what's than then: http://www.chami.com/html-kit/register/ Daniel Goldin ) [EMAIL PROTECTED] wrote in message 000601c1166a$9602e0c0$033a22c7@daniel">news:000601c1166a$9602e0c0$033a22c7@daniel... Recently there's been a thread about what editor is best for PHP.

RE: [PHP] best php editor

2001-07-27 Thread Martin Marconcini
LOL :) I didn't ... perhaps I used an old version... Regards, Martin Marconcini www.marconcini.com.ar Life must be lived looking forward and can be understood only looking backward. Soren Kierkegaard -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27,

RE: [PHP] Re: best php editor

2001-07-27 Thread Martin Marconcini
It is free. How it's for free? and what's than then: http://www.chami.com/html-kit/register/ The next build of HTML-Kit will include a commercial version for business users, as well as a free version. If you would like to receive a copy of the next commercial version when it becomes

[PHP] my php script is very slow. help?

2001-07-27 Thread hassan xaaji
Hi all I have Linux/PHP/MySQL. Some of my script really run very slowly. painfully slow. All data are fetched from the database. The tables in database are indexed. Still some scripts are very slow. I am using nested while and for loops. Any idea how to make them faster? What should I avoid

[PHP] force the output of PHP

2001-07-27 Thread Calin Uioreanu
Hi, I would like to force the output of php in one page. The result set is clustered and I want to send to the browser a cluster as soon as the processing is done. Can I do this? I tried output buffering and something like this: ?php ob_start(); echo microtime(); ob_end_flush(); for

Re: [PHP] fopen - warnings

2001-07-27 Thread Slavomir Slizik
... if ($datei = @fopen($file[$i], r+)) ... On Thu, 26 Jul 2001, Vanessa wrote: Hello List, this is probably a very stupid question, but I dont know how to solve this little problem: I have a script with which text files (exported access db data sheets) can be uploaded to the mysql

[PHP] Re: my php script is very slow. help?

2001-07-27 Thread Jonas Delfs
Hassan xaaji [EMAIL PROTECTED] skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have Linux/PHP/MySQL. Some of my script really run very slowly. What should I avoid in my scripting? It's hard to tell. Try showing some code. -- Mvh./Best Regards Jonas Delfs,

[PHP] Re: $str = var_dump()

2001-07-27 Thread Jonas Delfs
Elias [EMAIL PROTECTED] skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Actually, var_dump() dumps directly the structure/content of a variable to the browser... Now is there is anyway to capture this output and assign it to a string and then store it to a file? Output

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-27 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Brian White) wrote: There are times when I would really like to be able to do: class A { function DoStuff() { . } } class B extends A { function DoStuff() { .

Re: [PHP] Newbie Help (CLASS WAR!)

2001-07-27 Thread George Pitcher
Have a look at: http://www.phpbuilder.com/columns/luis2420.php3 HTH George, still a newbie after a week on php - Original Message - From: CC Zona [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 11:25 AM Subject: Re: [PHP] Newbie Help (CLASS WAR!) In article

[PHP] Re: Global Variables - Local Scope

2001-07-27 Thread elias
$varname = hi!; function read_global() { $varname = $GLOBLS[varname]; } [EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How can I read in all of the global variables and give them local scope? PLEASE HELP ME. -- PHP General Mailing List

Re: [PHP] my php script is very slow. help?

2001-07-27 Thread Deependra B. Tandukar
If your Database is big, avoid loops which goes to whole the DB. This is just one thought. DT - Original Message - From: hassan xaaji [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 15:36 Subject: [PHP] my php script is very slow. help? Hi all I have

Re: [PHP] my php script is very slow. help?

2001-07-27 Thread Tom Carter
Do you have many DB queries? What is the average size of the result returned? have you tried running timing functions on it to get a measure of how long the page is taking? theres many examples on the web.. You can also use these to calculate the time for different sections.. that should help

[PHP] intalling php as cgi on redhat7

2001-07-27 Thread Richard Kurth
I can't belive I have to ask this but I can not get it to work I am trying to get php as cgi installed on a RedHat7 box to be used with Apache. I configured it with ./configure --with-mysql did a make and then a make install every thing whet just fine. I add ScriptAlias /php/ /usr/local/bin/php

[PHP] php and javascript

2001-07-27 Thread Karl Phillipson
Does anyone know how to pass php variables to a javascript for processing. I have a DHTML menu system that requires variables be attached to the url contained within it. Using echo does not print the variable to the url. Is there another way? Thx in advance. Karl ==

Re: [PHP] php and javascript

2001-07-27 Thread Vitali Falileev
Hello Karl, Publish your code, plz. We are not wizards. :) 27 July, 2001, 14:08:05, you wrote: KP Does anyone know how to pass php variables to a javascript for processing. KP I have a DHTML menu system that requires variables be attached to the url KP contained within it. Using echo does not

[PHP] FTP Resume

2001-07-27 Thread Marc Bradshaw
Is there an easy way to implement FTP Resume in PHP? I need to log into our ftp server using username/password through a proxy and resume download of a logfile. Downloading the entire thing each time would take too long. I also need to check the dates of some files. Thanks, -- Marc

Re: [PHP] php and javascript

2001-07-27 Thread Daniel Rezny
Hello Karl, Friday, July 27, 2001, 1:08:05 PM, you wrote: KP Does anyone know how to pass php variables to a javascript for processing. KP I have a DHTML menu system that requires variables be attached to the url KP contained within it. Using echo does not print the variable to the url. KP

Re: [PHP] hosting

2001-07-27 Thread B. van Ouwerkerk
bandwidth/space/pop accounts, I will put up with it, until I can find a better host with comparable features, and comparable price. This kind of cheap ISP will throw as many domains on one box as possible.. Thats how they make profit. No reason to complain if it slows down so now and then..

[PHP] another question

2001-07-27 Thread Eduardo Kokubo
Does anybody knows how to redirect a page to new window with all the vars from the old one? Can I leave a message in the old window? Thanks in advance.

Re: [PHP] another question

2001-07-27 Thread Daniel Rezny
Hello Eduardo, Friday, July 27, 2001, 1:48:01 PM, you wrote: EK Does anybody knows how to redirect a page to new window with all the vars from the old one? Can I leave a message in the old window? EK Thanks in advance. Use a javascript window.open() function with link with all values. --

[PHP] New Group on the server

2001-07-27 Thread Melanie
Hi! I have a php page which calls an exe through exec function. This exe add a group on the server. The problem is that I don't have the permissions to create a new group (Control Panel/ Administrative Tools/ Computer Management/...) even if I change the settings of Security for the user

[PHP] execution time

2001-07-27 Thread Pétur Björn Thorsteinsson
I have a slight problem and was wondering if anyone could help. I have a php script that runs every 30 minutes. It takes the contents of a directory (which is constantly being updated) and dumps them into a mysql database. Recently this directory has become increasingly large and the php script

[PHP] MySQL big table process

2001-07-27 Thread Plamen Slavov
Hi guys, I have a big MySQL table - about 300MB I want to get all the records from the table, make certain transformations and write them to a text file (i can not use select into outfile...) the problem is when i type select * from table name the server hangs is there a way that i can

Re: [PHP] execution time

2001-07-27 Thread Plamen Slavov
You can use a standalone compiled PHP version and then You will not need a browser to execute scripts see http://www.php.net/manual/en/install.commandline.php - Original Message - From: Pétur Björn Thorsteinsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday 27 July 2001 ?.

Re: [PHP] execution time

2001-07-27 Thread Wagner Tomy
http://www.php.net/manual/en/function.set-time-limit.php the set_time_limit allows you to reset the max execution time.. the manual says: When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script

[PHP] 2D array

2001-07-27 Thread AJDIN BRANDIC
Hi I have been trying to do this for hours now. I have a while loop (rows from mysql db) and on each pass I want to pussh a new element into a 2D array, bot always end up with the last element of the while loop. So: table mytable myname myphone myemail john 254688 [EMAIL

Re: [PHP] 2D array

2001-07-27 Thread Wagner Tomy
$my2darray = Array(); while($row = mysql_fetch_row($result)) { array_push($my2darray, $row); } OR: for($i = 0; $i mysql_num_rows($result); $i++) { $row = mysql_fetch_row($result); $my2darray[$i] = $row; } Wagner Tomy Editus S.A. - Original Message - From: AJDIN BRANDIC [EMAIL

Re: [PHP] 2D array

2001-07-27 Thread Slavomir Slizik
or: $my2darray[] = $row; SSL On Fri, 27 Jul 2001, Wagner Tomy wrote: $my2darray = Array(); while($row = mysql_fetch_row($result)) { array_push($my2darray, $row); } OR: for($i = 0; $i mysql_num_rows($result); $i++) { $row = mysql_fetch_row($result); $my2darray[$i] =

[PHP] Destroying Session

2001-07-27 Thread Richard Baskett
Ok having a problem. If a person just surfs to a page outside of my site or types in a different url etc.. then it leaves the session intact. How can I destroy that session? Will I need to create some type of apache/linux script to delete the directory with all the sessions in it that are a

Re: [PHP] 2D array

2001-07-27 Thread AJDIN BRANDIC
Wag, I do not wish to push whole of the row into an array. Also I need the id of the parent array to be $myname; Ajdin On Fri, 27 Jul 2001, Wagner Tomy wrote: $my2darray = Array(); while($row = mysql_fetch_row($result)) { array_push($my2darray, $row); } OR: for($i = 0; $i

Re: [PHP] 2D array

2001-07-27 Thread Wagner Tomy
$my2darray = Array(); while(list($myname, $myphone, $myemail) = mysql_fetch_row($result)) { $my2darray[$myname] = array($myphone, $myemail); } Wagner Tomy Editus S.A. - Original Message - From: AJDIN BRANDIC [EMAIL PROTECTED] To: Wagner Tomy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Re: [PHP] MySQL big table process

2001-07-27 Thread Daniel Rezny
Hello Plamen, Friday, July 27, 2001, 2:04:15 PM, you wrote: PS Hi guys, PS I have a big MySQL table - about 300MB PS I want to get all the records from the table, make certain transformations and write them to a text file (i can not use select into outfile...) PS the problem is when i type

Re: [PHP] 2D array

2001-07-27 Thread AJDIN BRANDIC
That works OK Thank you Ajdin On Fri, 27 Jul 2001, Wagner Tomy wrote: $my2darray = Array(); while(list($myname, $myphone, $myemail) = mysql_fetch_row($result)) { $my2darray[$myname] = array($myphone, $myemail); } Wagner Tomy Editus S.A. - Original Message - From: AJDIN

[PHP] Re: Destroying Session

2001-07-27 Thread Jonas Delfs
Richard Baskett [EMAIL PROTECTED] skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ok having a problem. If a person just surfs to a page outside of my site or types in a different url etc.. then it leaves the session intact. How can I destroy that session? The

[PHP] Re: Can mysql_fetch_*() work on the resultpointer only?

2001-07-27 Thread Jonas Delfs
Jonas Delfs [EMAIL PROTECTED] skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can mysql_fetch_*() work on the resultpointer that mysql_query() returns, only, or does the rows have to be in the database when fetching? I know that mysql_query() finds the specified data, but

[PHP] Re: naming conventions

2001-07-27 Thread Jeremy Maziarz
Matthew, The convention I use goes as follows: [ I am doing this without testing as I go so if something is wrong, don't sue me :P ] Lets say I have two tables... PEOPLE people_id (primary key) people_namefirst people_namelast people_namemiddle people_age place_id (foreign key) PLACE

[PHP] Re: session gc question

2001-07-27 Thread Jonas Delfs
Greg Donald [EMAIL PROTECTED] skrev i en meddelelse [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is is possible to set session.gc_probability manually on a per script basis, similar to the way error reporting is capable of being set? Yes. PHP have a standard function for setting things like

[PHP] error trapping

2001-07-27 Thread Phil Spitler
I am wondering the best way to handle error trapping with PHP. I am farmiliar with languages, ColdFusion being one, that you can use TRY and CATCH statements. Any info would be appreciated. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324

[PHP] session tracking problem

2001-07-27 Thread Khuram Latif
Hi Sir, I have a problem in session tracking, After checking User name and password from database, I register a session as session_register(User_name); For next page authentication, at the top of every page i check if ($HTTP_SESSION_VARS[User_name] != ) { // Display Page Contents

Re: [PHP] php and javascript

2001-07-27 Thread Sheridan Saint-Michel
I am not sure exactly what you are doing, but the thing to remember is that your PHP script is writing your HTML and JavaScript. As long as you keep that in mind it is fairly easy to see how to pass variables to JS. Here is a very simple example ?php $foo = bar; ? HTML Body Script

Re: [PHP] asp to php

2001-07-27 Thread Willie Dresler Leiva
RedHat 7.1 (Linux) has a package that converts from ASP to PHP pages. I didn't use it, so I don't know if it is useful neither if it is available for Windows. Kind regards, Willie _ Seja avisado de novas mensagens do Hotmail e use

[PHP] Frames, Sessions Search Engines

2001-07-27 Thread Jeroen Geusebroek
Hi there, I have a question about how Search Engines handle sessions and frames. Since my site uses frames, and i think search engines link to pages individualy and not the frameset, i wanted to use sessions to indicate if a user comes from a search engine (then it doesn't have a valid session)

[PHP] Moving a PHP/MySQL web site ???

2001-07-27 Thread PHP Junkie
Hi ?PHPrEAks!? I will be having to face the dubious task of moving my PHP/MySQL-based website to another server. Can anyone out there point me to some GOOD documentation on this? The .php files I'm not as concerned about. I've been using the $DOCUMENT_ROOT in all of my includes. I'm more

Re: [PHP] Moving a PHP/MySQL web site ???

2001-07-27 Thread Jeff Lewis
Why don't you just dump the data and structure and then use that to import it? I'm sure there is something to do in telnet but I am unfamiliar :) Jeff - Original Message - From: PHP Junkie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 10:21 AM Subject: [PHP] Moving

[PHP] Re: File Upload Size Limits

2001-07-27 Thread bill
I think you need to check your Apache time limits too. Michael Conley wrote: I am running PHP 4.0pl1 with Apache 1.3.14 on RedHat Linux 7.1. I am trying to do a file upload from the users PC to my web server. If I do a small file, the transfer goes fine. If I do a large file ( 50 MB), the

RE: [PHP] my php script is very slow. help?

2001-07-27 Thread Jack Dempsey
Be careful with any sort of nested loops. You may not be able to avoid them, but if you nest a while loop within another while loop, and simply iterate through results, you will have quadratic running time. This isn't a big deal if you've got 20 results, but for every increase in N (size of

[PHP] Delete

2001-07-27 Thread Jeremy Morano
Hi, im trying to delete a record from a table where the value of a field must be equal to the value of a field of another table.I know this is wrong but I need to show you what I mean. I think I'm missing a very important select statement to join them...can

Re: [PHP] Moving a PHP/MySQL web site ???

2001-07-27 Thread Tim
You can just use mysqldump to copy the contents of the database to a file, and it will be easy to re-create it on the new site. - Tim http://www.phptemplates.org I will be having to face the dubious task of moving my PHP/MySQL-based website to another server. Can anyone out there point me

Re: [PHP] Moving a PHP/MySQL web site ???

2001-07-27 Thread Plamen Slavov
I think that as far as you have the same version of MySQL on both servers, you can simply copy the table files, otherwise you should use mysqldump or something like that - Original Message - From: PHP Junkie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday 27 July 2001 ?. 5:21

[PHP] OK............... Yell!~

2001-07-27 Thread Nicole4Av1611
Hello, I am new at all this. Please help! I am using PHP4 on windows 98, Apache, MySql server. Apache is working fine. However when I try to view the phpinfo test page nothing happens. Should I put it in the Apache docs file??(thats were it is) Is it better to configure PHP for Apache as a

  1   2   >