[PHP] anyone can help?

2002-08-09 Thread ::: Flavio Bastos Amiel::::::
this is not functional and i dont know why, this is stoping where if (!$accion) is, and the wuery if you run in into the sql is perfectREQUIRE('conexion.php'); $accion=mysql_query(SELECT * FROM empresas); IF (!$accion); { echo div alig=\center\no se puede ver la solicitud/div; } ? form

RE: [PHP] anyone can help?

2002-08-09 Thread Martin Towell
you've got a ; after the if IF (!$accion); { should be IF (!$accion) { -Original Message- From: ::: Flavio Bastos Amiel:: [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 4:34 PM To: [EMAIL PROTECTED] Subject: [PHP] anyone can help? this is not functional and i dont

Re: [PHP] anyone can help?

2002-08-09 Thread ::: Flavio Bastos Amiel::::::
i didnt notice that, but is the same thing, is not working :( thanks for the fasta answer Martin Towell [EMAIL PROTECTED] wrote in message 6416776FCC55D511BC4E0090274EFEF5034CFC9A@EXCHANGE">news:6416776FCC55D511BC4E0090274EFEF5034CFC9A@EXCHANGE... you've got a ; after the if IF (!$accion); {

[PHP] now is working, but itsn't...

2002-08-09 Thread ::: Flavio Bastos Amiel::::::
now is working, but itsn't doing the while, here's the new code ? require(conexion.php); $accion=mysql_query(SELECT * FROM empresas); IF (!$accion) { echo div alig=\center\no se puede ver la solicitud/div; } ? form name=form1 method=post action= select name=selectseleccione/select

[PHP] Re: now is working, but itsn't...

2002-08-09 Thread ::: Flavio Bastos Amiel::::::
im off, this is to easy, and i am sleepy! thanks for the help in time of zombies. THE REAL CODE! (IM SO FUCKING DUMB!) ? require(conexion.php); $accion=mysql_query(SELECT * FROM empresas order by id desc); IF (!$accion) { echo div alig=\center\no se puede ver la solicitud/div; } ?

Re: [PHP] posting news via php - 535 error

2002-08-09 Thread Latex Master
Hello andy, Try to put a . when you finished at the new line. And use utf7 encoding. Friday, August 9, 2002, 10:11:44 AM, you wrote: a Hi there, a I am trying to write a script which is posting news to a newsserver. a Unfortunatelly I do get a 535 error back which is not reported in: a

[PHP] Re: Using ini_set with session.gc_maxlifetime

2002-08-09 Thread Lars Olsson
Neil Innes wrote: I've got a site on a server where I can't change the php.ini setting for session.gc_maxlifetime, which is set at the default 1440 seconds. My client wants to entend the time to an hour. The only way I am aware of how to do this kind of thing is through ini_set.

[PHP] Sessions don't work properly in Netscape Enterprise Server

2002-08-09 Thread Félix García Renedo
Hello, I have a problem with php sessions in Netscape Enterprise Server. When I call the file php with sessions it shows: html Rest of header body and in the browser I see: body When I reload the page it appear correctly What happens? Thanks.

Re: [PHP] Most portable back button in php

2002-08-09 Thread Henry
Thanks Justin I'll have a go ;-) Henry Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have this code on one of my sites... it sits inthe config file, so every page is able to establish their URL. For my site, the definition of URL is just

[PHP] Re: anyone can help?

2002-08-09 Thread Henry
I'm not sure about which bits do not work but one that I've spotted is the extra ;! A common and frustrating bug, see below: IF (!$accion); { should be IF (!$accion) { The ; means that if not $accion then do nothing. The brace after then only starts a scope which is always executed.

[PHP] Checking Session Vars in Functions

2002-08-09 Thread Monty
I have PHP 4.2.2 with register_globals=off. It seems like session vars stored in $_SESSION[] aren't visible to functions. For example, this won't work for me: $status = user_access(); function user_access() { if ( isset($_SESSION['user']) ) { return 1; } else { return 0; } } Result is

[PHP] Fw: [PEAR] ORA 12571 error TNS PACKET write failure

2002-08-09 Thread Verdana Musone
- Original Message - From: Verdana Musone Sent: 2002Äê8ÔÂ9ÈÕ 16:27 To: [EMAIL PROTECTED] Subject: [PEAR] ORA 12571 error TNS PACKET write failure I used below code to write data to ORACLE 8i DB. But i got some error message some times: 12571 error TNS PACKET write failure. How to

[PHP] including URL's

2002-08-09 Thread Henry
I want to include a parameterised URL in a php script. Something like ?php include http://www.myprimary.com/form.php?persion=1; ? where form.php might contain something like ?php echo forminput type=hidden name=person value=$_GET['person']/form; ? Is this possible (in particular is it

RE: [PHP] Need help with Apache and .htaccess vs. Files directive. -- SOLVED

2002-08-09 Thread Daevid Vincent
Tim, you are my father! That was it. That stupid trailing /* Making it: Directory /home/epiller/public_html/vrexhibits instead of: Directory /home/epiller/public_html/vrexhibits/* worked -Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002

[PHP] Can I assign to $_POST legitimately

2002-08-09 Thread Henry
I can do it but is it legit? $_POST['name']='henry'; within a php script? if $_POST['name'] is not set. The clearly $_POST['name'] was not posted!! Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What the heck is this Zope?

2002-08-09 Thread Deependra b. Tandukar
Dear all: What the heck is this Zope? Which is better PHP or Zope? Any idea ! DT

[PHP] Re: Checking Session Vars in Functions

2002-08-09 Thread lallous
try to check if a session is session or not via: session_is_registered() Elias Monty [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have PHP 4.2.2 with register_globals=off. It seems like session vars stored in $_SESSION[] aren't visible to functions.

RE: [PHP] PHP warning with 4.2

2002-08-09 Thread Ford, Mike [LSS]
-Original Message- From: PHP List [mailto:[EMAIL PROTECTED]] Sent: 08 August 2002 19:14 Hi, after upgrading to 4.2, I seem to be getting this warning: PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by

[PHP] Passing Array from one form to another form

2002-08-09 Thread J.F.Kishor
Hello all, I have got a doubt, Is there a way to pass a array from one from to another form while submition. I have tried to do it, but in the second form I just get the string ARRAY I'am not able to get the expected result. Please let me know if there is a way to do the above.

Re: [PHP] Linux PHP editor

2002-08-09 Thread Mark Gallagher
JJ Harrison\ wrote: I just switched over to Red Hat Linux from Win2k... Only to find my fav editor only works on windows systems... could someone suggest a good replacement? Vim. It's even got syntax highlighting: http://www.vim.org/ -- Mark Gallagher Desperately attempting - and

RE: [PHP] Can I assign to $_POST legitimately

2002-08-09 Thread Matt Schroebel
From: Henry [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 6:00 AM Subject: [PHP] Can I assign to $_POST legitimately I can do it but is it legit? $_POST['name']='henry'; within a php script? if $_POST['name'] is not set. The clearly $_POST['name'] was not posted!! Yes,

[PHP] Re: Linux PHP editor

2002-08-09 Thread richard . mail
JJ Harrison\ writes: I just switched over to Red Hat Linux from Win2k... Only to find my fav editor only works on windows systems... could someone suggest a good replacement? -- JJ Harrison [EMAIL PROTECTED] www.tececo.com -- PHP General Mailing List

[PHP] Re: Passing Array from one form to another form

2002-08-09 Thread lallous
this can be done through many ways: 1. serialization: serialize() the array and then send it as a string, deserialize it back in form2 2. join the arrays with a seperator and send as one string, and split it back in form2 3. use hidden fields with same name whose name is similar too:

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Negrea Mihai
try nedit from nedit.org you can download the patterns from the site to do php syntax highlight.. I have combined it with cervisia from kde 3 and made it look smth like an IDE :) .. and I've been working 4-6 hours per day for about half an year with it with no problems. I also have tried

Re: [PHP] Linux PHP editor

2002-08-09 Thread Andrey Hristov
gedit - for gnome. nedit. - for X joe - for console. use joe if you had used Borland's editors. The key combinations are almost the same. Regards, Andrey - Original Message - From: JJ Harrison\ [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 09, 2002 1:40 PM Subject: [PHP]

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread John Wards
Try Zend studio if you have the mulla it rocks! http://www.zend.com/store/products/zend-studio.php John Wards SportNetwork.net - Original Message - From: Negrea Mihai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 09, 2002 12:21 PM Subject: Re: [PHP] Re: Linux PHP editor

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Jason Wong
On Friday 09 August 2002 18:09, Deependra b. Tandukar wrote: What the heck is this Zope? Try asking on the zope mailing list, or read up on www.zope.org Which is better PHP or Zope? How long is a piece of string? Horses for courses. You pays your money and takes your choice. Zope is based

Re: [PHP] including URL's

2002-08-09 Thread Jason Wong
On Friday 09 August 2002 16:39, Henry wrote: I want to include a parameterised URL in a php script. Something like ?php include http://www.myprimary.com/form.php?persion=1; ? Yes. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Negrea Mihai
On Friday 09 August 2002 02:29 pm, John Wards wrote: Try Zend studio if you have the mulla it rocks! http://www.zend.com/store/products/zend-studio.php John Wards SportNetwork.net yeah.. and if you have 3-4 netscapes open and xmms for music, kmail for spams, mysql and apache locally

Re: [PHP] Problem with selection

2002-08-09 Thread Jason Wong
On Friday 09 August 2002 12:16, [EMAIL PROTECTED] wrote: Could somebody look at this and tell me way it is not selecting the option fields in the $mins variable. I have looking at this all day and can not figure out what is wrong with it. ?php $mins=3,4,6,23,59;

[PHP] PHP: problem with patterns

2002-08-09 Thread Alia Mikati
Hi again, I hope u can help me with this. I have to parse an html file and replace src attribute of an img. I'm using 'preg_match_all' but it seems i'm having problem with patterns. This is the part of code that should find the appropriate img src:

[PHP] Re: What the heck is this Zope?

2002-08-09 Thread Kondwani Spike Mkandawire
Deependra B. Tandukar [EMAIL PROTECTED] wrote in message 003e01c23f8c$ce099120$0101@dt">news:003e01c23f8c$ce099120$0101@dt... Dear all: What the heck is this Zope? Which is better PHP or Zope? Any idea ! DT I just skimmed over the documentation and the tutorials on line and couldn't

[PHP] Re: exec problem

2002-08-09 Thread Bogdan Stancescu
If it's internal stuff to your application, you can write in a 777 directory (such as /tmp) and retrieve it from there. If you want to write in a specific directory, you can set up a cron job to copy the file from the 777 directory to wherever you please from time to time. I'm not aware of

[PHP] Re: Linux PHP editor

2002-08-09 Thread Markus Jais
Jj Harrison\\ wrote: I just switched over to Red Hat Linux from Win2k... Only to find my fav editor only works on windows systems... could someone suggest a good replacement? -- JJ Harrison [EMAIL PROTECTED] www.tececo.com http://quanta.sf.net (a html ide with php support, quite

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with wine... http://www.winehq.com/ (I wouldn't want to do that though...) - E How 'bout I just switched over to Red Hat Linux from Win2k... Only to find my fav editor

Re: [PHP] Linux PHP editor

2002-08-09 Thread Pavel Jartsev
JJ Harrison\\ wrote: I just switched over to Red Hat Linux from Win2k... Only to find my fav editor only works on windows systems... could someone suggest a good replacement? -- JJ Harrison [EMAIL PROTECTED] www.tececo.com Try this: http://www.scintilla.org/ Scintilla is a

[PHP] Re: Linux PHP editor

2002-08-09 Thread JJ Harrison\\
Thanks for all your responses... I will begin checking them out. -- JJ Harrison [EMAIL PROTECTED] www.tececo.com Jj Harrison\ [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just switched over to Red Hat Linux from Win2k... Only to find my fav editor only

Re: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-09 Thread Doug Smith
Matt, I wish you were my boss :) I love MySQL and would want to use it instead of db2 (seeing i could probably have had it working with php last week ;) ) but Somehow my boss loves to waste money on IBM products... and then hires on people who don't know how to use them well (i.e.

[PHP] Rainingdata DB with PHP

2002-08-09 Thread Remy Dufour
Hi all, Is there an easy way to connect php to rainingdata db ? Where can i find documentation on this ? regards. Rémy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Huge Problem

2002-08-09 Thread Christopher J. Crane
I get the following errors when I run my script. It works fine with only 20 records, but at 100 I get errors. PHP has encountered an Access Violation at 00DA088E Warning: Unknown list entry type in request shutdown (2) in c:\www\htdocs\demos\ct.org\directory.php on line 0 or PHP has

Re: [PHP] Linux PHP editor

2002-08-09 Thread Paul Dionne
I am using Quanta 2.0 and loving it. http://quanta.sourceforge.net Oh My Gosh they have a new verison out.. 3.0 Time to upgrade. Paul @ Edwin wrote: I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I think there's a way how to fix that. But don't bother to ask--I couldn't do it and I forgot... BTW, if you know any that can convert from (Japanese) euc-jp to sjis and vice versa, I'll be happy to learn about it. TIA - E On Friday 09 August 2002 20:34, [EMAIL PROTECTED] wrote: I use vim

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I'd like to use it but I don't use KDE (perhaps the libraries needed are not installed). Besides, an earlier post said that it's broken (?) in Redhat 7.3... BTW, can it do search and replace in multiple open files? Does it have FTP capabilities? If yes, well, perhaps it's time to start using

Re: [PHP] posting news via php - 535 error

2002-08-09 Thread Andy
Try to put a . when you finished at the new line. And use utf7 encoding. I did already put this . after the message. This is described in the spec, but I might have put it into the wrong spot?! What do u suggest to put it? What is utf7 encoding? Can you make an example? Andy --

[PHP] use data-ba_se

2002-08-09 Thread Thomas -Balu- Walter
Hi, I just noticed a little problem(?) while using databases. Some time ago I wrote myself a little class that made it easier to handly my mysql-tasks. The class connected to a database and used a query like use $database to switch to the given database. This worked without a problem just as

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Chris Garaffa
On Friday, August 9, 2002, at 07:27 AM, Jason Wong wrote: Which is better PHP or Zope? How long is a piece of string? Twice the length of one of its halves. Sorry. Couldn't resist. c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] E-commerce site issue?

2002-08-09 Thread The Gabster
JUstin, Thanks a lot... Hmm... I gues for the beginning I would go and process the purchases manually. Later on if the purchases increase, than I would opt for proccesing credit cards via the server. Can you please give me some details on this? I know php, have Apache on a Win2k machine. Many

Re: [PHP] Linux PHP editor

2002-08-09 Thread Zeev Suraski
At 15:53 09/08/2002, Aaron Gould wrote: Something rarely mentioned in these discussions on PHP Editors, is FTP capabilities. That's something that is absolutely critical for me. I maintain several websites on different web servers. As such, the ability to log in and remotely edit sites is

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Kondwani Spike Mkandawire
Chris Garaffa [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday, August 9, 2002, at 07:27 AM, Jason Wong wrote: Which is better PHP or Zope? How long is a piece of string? Twice the length of one of its halves. c. What if the String cannot be

Re: [PHP] Checking Var's passed via URL

2002-08-09 Thread Analysis Solutions
On Thu, Aug 08, 2002 at 03:01:15PM -0300, Saci wrote: Parse error: parse error, unexpected T_ISSET, expecting '(' in http://mydomain/Cliente.php on line 2 ?php if (isset($_GET['modo'])){ Your error message is complaining about line 2. Well, that right there is line 2. I bet you retyped

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Chris Garaffa
On Friday, August 9, 2002, at 10:07 AM, Kondwani Spike Mkandawire wrote: Chris Garaffa [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday, August 9, 2002, at 07:27 AM, Jason Wong wrote: Which is better PHP or Zope? How long is a piece of string?

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread Jason Wong
On Friday 09 August 2002 21:59, Chris Garaffa wrote: On Friday, August 9, 2002, at 07:27 AM, Jason Wong wrote: Which is better PHP or Zope? How long is a piece of string? Twice the length of one of its halves. So what's that in metric? Sorry. Couldn't resist. Ditto. -- Jason Wong -

RE: [PHP] Linux PHP editor

2002-08-09 Thread Matt Schroebel
Here's some Linux ones that satisfy this requirement: 1. Zend IDE: Nice, but $$$ is the big inhibiting factor. There's a Zend Studio for-non-commercial use version available for free. It's based on version 2.0 of the product, fully functional. I would have to say that Zend Studio is

[PHP] re-installation problem ...

2002-08-09 Thread Kenn Murrah
Greetings. I've had to reinstall linux/apache/php on my new laptop ... if i browse http://localhost, i'm told that i'm running apache-advancedExtranetServer/1.3.20 (mandrake linux/3mdk) mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.6. sounded as though i'd successfully recreated my server, yet when i

[PHP] spiffy error handling ...

2002-08-09 Thread Alexander Ross
This may be kids play for some of you, but I figured this out and thought I'd share... $connect = connect-to-db() or (alert(error) xor die()); or $connect = connect-to-db() or (alert(error) xor return(false)); It makes for much cleaner code than what I used to do: $connect = connect-to-db()

[PHP] Re: spiffy error handling ...

2002-08-09 Thread Alexander Ross
p.s. alert is a simple function I wrote to call a javascript alert window. Alexander Ross [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This may be kids play for some of you, but I figured this out and thought I'd share... $connect = connect-to-db() or

[PHP] Is there a standard function to remove multiple spaces from a string?

2002-08-09 Thread Henry
Hi All, Are there standard functions for removing multiple spaces (or even better limiting contiguous space to specified lengths)? i.e foo(Hello peeps, happy times,1) - Hello peeps, happy times foo(Hello peeps, happy times,0) - Hellopeeps,happytimes foo(Hello peeps, happy

Re: [PHP] Help with multiple select

2002-08-09 Thread Analysis Solutions
Untested... $row = mysql_fetch_array($result, MYSQL_ASSOC); # Assuming items are comma separated in the field... $mins = explode(',', $row['mins']); echo formtabletrtd\n; echo select name=\mins[]\ size=\12\ multiple\n; for ($i=0; $i12; $i++) { echo option

Re: [PHP] Is there a standard function to remove multiple spacesfrom a string?

2002-08-09 Thread Rasmus Lerdorf
function foo($str,$num) { return preg_replace('/ {'.$num.',}/',str_repeat(' ',$num),$str); } On Fri, 9 Aug 2002, Henry wrote: Hi All, Are there standard functions for removing multiple spaces (or even better limiting contiguous space to specified lengths)? i.e foo(Hello

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I'll try... Anyway, next time, I'll try using KDE as well... Regards, - E hmm, can't answer those questions...I hope you can find such answers on their web site. warmly, paul At 03:40 PM 8/9/2002, you wrote: I'd like to use it but I don't use KDE (perhaps the libraries needed are not

Re: [PHP] $http_host use case

2002-08-09 Thread Analysis Solutions
David: On Thu, Aug 08, 2002 at 10:30:15PM +0200, David D wrote: I make 2 sites with 2 domain names that use same scripts, Each has got its html templates in a special dir selected judgging from $HTTP_HOST values. ... snip ... search engine works, did they affect this var correctly ? If

[PHP] Having an issue with a Directory Listing in the php Scripting

2002-08-09 Thread §§ Duncan MacLeod §§
I was wondering if I could get alittle help in this issue. I have extinguished all other resources, with no avail to help. I am trying to get a directory listing for a dropdown list to choose for connection to a MySQL database for the correct image name to be printed into the database. I have

[PHP] DPHPEdit - FREE PHP IDE, new version available

2002-08-09 Thread Davor Pleskina
It is still FREE! Download site: http://www.pleskina.com/dphped In newest version (0.9.3.0): a. Recent projects list (Reopen) added to File menu b. File Browser added - you can now add files to project or open projects via double-clicking file name in internal file browser! c. Added Syntax

Re: [PHP] What the heck is this Zope?

2002-08-09 Thread ed
Check this page out: http://www.zope.org/WhatIsZope .. And click the links on that page too. I don't know much about it. But what I gather is that it's sort of like an open source cold fusion type application written in python. Not that it necissarily resembles cold fusion in any way, but that

[PHP] Problem with output buffering in PHP 4.0.6 and Apache/1.3.20

2002-08-09 Thread ing.Martin Prek
Hi.. I have found a strange problem. I try to use php output buffering, but I found this problem. Working with small amount of data everything is fine. But If I set example script like this: ? function callback($buffer) { return do_something_with($buffer); } ob_start(callback) . .

Re: [PHP] Having an issue with a Directory Listing in the php Scripting

2002-08-09 Thread Analysis Solutions
On Fri, Aug 09, 2002 at 08:58:41AM -0500, §§ Duncan MacLeod §§ wrote: I am only being able to list the first file in each of the directories. Not the entire directory. ... snip ... Although, the only files I really need out of the directory are going to be '.JPG', '.jpg', '.GIF', '.gif',

RE: [PHP] Linux PHP editor

2002-08-09 Thread Adam Plocher
I had problems compiling quanta on my redhat 7.1 box, I had to grab some cvs files to fix it (Don't remember which files.. Probably whichever ones had problems compiling - and the makefile). Quanta is a great program, it's basically a homesite clone for Linux. -Adam -Original Message-

[PHP] How do i add sound + pictures in a MySQL Database and how do i consult it via PHP

2002-08-09 Thread danny
hi, I am new on MySQL en PHP. I'm making a on-line dictionary. I use PHP and a MySQL Database. Now I want to add audio-streaming (MP3) and pictures (JPG) to the database. Can sombody help me out? The database is working well (only text). Danny -- PHP General Mailing List

[PHP] I'm going to shoot my machine

2002-08-09 Thread Liam Gibbs
Is there any reason why a MySQL query won't run properly in a mysql_query command, but will run properly when I put the *exact same* statement into a textbox that inputs into a mysql_query command? __ Do You Yahoo!? HotJobs - Search Thousands of

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread EdwardSPL
Is there a php editor for Win2k ? Negrea Mihai wrote: try nedit from nedit.org you can download the patterns from the site to do php syntax highlight.. I have combined it with cervisia from kde 3 and made it look smth like an IDE :) .. and I've been working 4-6 hours per day for about half

Re: [PHP] I'm going to shoot my machine

2002-08-09 Thread Rasmus Lerdorf
Probably a quote problem, or you are adding a ; at the end. The mysql_error() output after the failed query would tell you exactly. Much easier than asking here. -Rasmus On Fri, 9 Aug 2002, Liam Gibbs wrote: Is there any reason why a MySQL query won't run properly in a mysql_query command,

Re: [PHP] PHP: problem with patterns

2002-08-09 Thread Analysis Solutions
Hi Alia: On Fri, Aug 09, 2002 at 02:50:32PM +0300, Alia Mikati wrote: I have to parse an html file and replace src attribute of an img. I'm using 'preg_match_all' First off, if you're doing a search and replace, use preg_replace(). having problem with patterns. This is the part of code

[PHP] JSP vs. PHP?

2002-08-09 Thread Kondwani Spike Mkandawire
I'm still into PHP like crazy... But I have been told JSP is more powerful how true is this? From what I've read so far (tutorials and all), the syntax is 100% similar to Java i.e. it is basically Java with additional library functions... Now here's the story: I am yet to use PHP with a

[PHP] Submitting Form in E-mail to Server Fails

2002-08-09 Thread Jeff Hill
Submitting a form that is within the body of an e-mail message fails when I use the 'post' method, although it works if I use 'get'. With the post method, it will open up a web browser, but the receiving form's headers show no data, no array, submitted. I thought at first it was a conflict with

[PHP] Pictures and sound in MySQL and access via PHP

2002-08-09 Thread danny
hi, I already posted this message but the time on my computer was wrong (26/07 so i post it again). I am new on MySQL and PHP. I'm making a on-line dictionary. I use PHP and a MySQL Database. Now I want to add audio-streaming (MP3) and pictures (JPG) to the database and retrieve it true PHP.

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread @ Edwin
I'm sure you can also use vim or jedit or Zend's mentioned earlier. Or, visit this site for more: http://php.weblogs.com/editors - E Is there a php editor for Win2k ? _ $B%&%#%k%9%a!<%k!"LBOG%a!<%kBP:v$J$i(B MSN Hotmail

[PHP] extra calls to pcDataHandler method

2002-08-09 Thread Alex Maslov
Hi, i have a question about how PHP XML support works, in particular how handler methods are called. if i have element-only tag, like: host namefoo/name locationusa/location /host and i invoke xml parser on this, should my registered pcDataHandler method be

[PHP] Getting information of a client

2002-08-09 Thread Jan Souman
I would like to get information of a person who is browsing my site. Does anyone know how to get this information? Kind regards, Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] JSP vs. PHP?

2002-08-09 Thread cteubner
I'm not a JSP programmer so don't quote me but... A) The syntax isn't really that similar to Java. In Java, EVERYTHING is an object. You could write PHP like that if you wanted to but most people don't, especially those who are working with MySQL, for example. PHP is really a cross between C

[PHP] Sending automatically mail

2002-08-09 Thread Jan Souman
I would like my php-script to send a mail every day automatically, without anyone opening my site. Is this possible and if yes can anyone tell how to do this? Kind regards, Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] JSP vs. PHP?

2002-08-09 Thread Rasmus Lerdorf
You are mixing up some things here. JSP is server-side Java, applets are client-side. The two have very little to do with each other. You can use PHP and still send a Java applet to the browser, for example. But if you are asking if doing client-side graphics with a java applet is faster or

[PHP] JPgraph: Autoscaling [OT perhaps]

2002-08-09 Thread Lee P. Reilly
Anybody out there using JpGraph? I directed the following question to the support web site, but as yet... there's been no reply: Could somebody tell me how to disable the autoscaling in JpGraph, and/or how to provide my own scaling? It's perfect for 99% of the graphs and plots I create, but

[PHP] funtion exporter; static inclusion of external scripts

2002-08-09 Thread ed
Does anyone know of any tools for php that will let you include only certain functions from a file. For example if I only wanted a function named login from a file named func_common.php, I could maybe do something like this: my_require('path/to/func_common.php', 'login'); I was thinking of

[PHP] I'm going to shoot myself

2002-08-09 Thread Liam Gibbs
Is there any reason why a MySQL query won't run properly in a mysql_query command, but will run properly when I put the *exact same* statement into a textbox that inputs into a mysql_query command? UBF. Sorry for the false alarm, guys. I'm gonna go under a rock now. Thanks anyway, Rasmus. Your

Re: [PHP] Checking Var's passed via URL

2002-08-09 Thread Saci
Thank you for your reply Believe or not the code today works , without any change. I guess is somethhhing related to browser cache., who probably was holding one old version. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sending automatically mail

2002-08-09 Thread César Aracena
I had a question like this once, and the most applicable answer I got from this list was to make a script which triggers *IF* a certain time of day was reached. The only problem is that it had to be triggered by one visitor's clicking at least (the script was asleep in a page until that page was

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Jason Reid
Yep. Theres several for windows. I've used: -PHP4EE -Homesite -Dreamweaver (MX version finally has syntax highlighting) -Good old notepad -PHP Coder Pro (What PHP4EE was based on) Jason Reid [EMAIL PROTECTED] -- AC Host Canada www.achost.ca - Original Message - From: [EMAIL PROTECTED]

Re: [PHP] Sending automatically mail

2002-08-09 Thread Kondwani Spike Mkandawire
César aracena [EMAIL PROTECTED] wrote in message 002101c23fcb$4e43c390$93c405c8@gateway">news:002101c23fcb$4e43c390$93c405c8@gateway... I had a question like this once, and the most applicable answer I got from this list was to make a script which triggers *IF* a certain time of day was

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Aaron Gould
You might want to check the archives. This topic has been discussed exhaustively many times... To name a very small few: HTML-Kit Zend IDE HomeSite Dreamweaver jEdit ... and many, many more. -- Aaron Gould [EMAIL PROTECTED] Web Developer - Original Message - From: [EMAIL PROTECTED]

Re: [PHP] Sending automatically mail

2002-08-09 Thread Kondwani Spike Mkandawire
Kondwani Spike Mkandawire [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... César aracena [EMAIL PROTECTED] wrote in message 002101c23fcb$4e43c390$93c405c8@gateway">news:002101c23fcb$4e43c390$93c405c8@gateway... I had a question like this once, and the most

Re: [PHP] Sending automatically mail

2002-08-09 Thread Jeff Hill
Well, if you compile a cgi version of php, just add a cronjob to run your script. When you automate these things though, especially if it's sending out e-mail, it's best to carefully setup error reporting to catch any script failures or faults -- you want them reported to you quickly and to kill

RE: [PHP] Sending automatically mail

2002-08-09 Thread César Aracena
You're probably right. I tend to think like this 'cause I'm a guy with no access to my server at all. I just rent-a-server for all my hosting needs. C. -Original Message- From: Kondwani Spike Mkandawire [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 2:36 PM To: [EMAIL

Re: [PHP] Please help with array_diff()

2002-08-09 Thread Gandalf
Well of course $foo[0] contains the first dimension of the $foo array and the same goes for $bar[0]. It is still not working as it should, i am close to going nuts. At 11:43 09.08.2002 +0800, you wrote: On Friday 09 August 2002 06:14, Gandalf wrote: $diff = array_diff($foo[0], $bar[0]);

[PHP] Win PHP Editor...

2002-08-09 Thread Dave at Sinewaves.net
Just have to add one little fine piece of free software that nobody's mentioned yet, Crimson Editor (http://www.crimsoneditor.com ) No code completion, but it's got every other feature of the big commercial beasts... definitely check it out - I just switched over, and it's great. From the

Re: [PHP] $http_host use case

2002-08-09 Thread David D
You re right i will make a if statement ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Name of Include File breaking a Function - Strange!

2002-08-09 Thread Monty
I have an include file named functions.inc.php that I include in nearly every script. For some bizarre reason, the following function inside this file does not always work: function user_acess() { if ( isset($_SESSION['valid_user']) ) { return 1; } return 0; } Most of the

[PHP] Environment Variables

2002-08-09 Thread Robert Morse
Hello. I have run into a weird problem with php. I have a very short php script that will print out a particular environment variable. Here is the contents of an index.php file: htmlheadtitleTest/title/head body bgcolor=#FF b LOOK -- ? print($MY_VAR); ?/b /body/html Now, when I go to

RE: [PHP] JSP vs. PHP?

2002-08-09 Thread Julio Nobrega
[EMAIL PROTECTED] em Friday 09 August 2002 14:14 foi agraciado com uma resposta por: but how many huge dot-coms wrote their sites in PHP? We did :-) A Linux/Apache/PHP/Mysql system that will run credit solicitations for financial institutions. Management of around 500 million dollars,

[PHP] Passing hidden form var?

2002-08-09 Thread Jas
I think I am just over looking something here, a new pair of eyes would be useful. Thanks in advance. The var $ipaddy is not getting passed to code listed below /* Form for IP checking */ $table = cm_sessions; $record = mysql_query(SELECT * FROM $table,$dbh); while ($row =

RE: [PHP] Environment Variables

2002-08-09 Thread César Aracena
My guess is that you should look into your server's configuration, to see if it recognizes index.php as a valid main page. Maybe it's configured (standard) to detect index.htm / index.html as valid main pages. HTH, C. -Original Message- From: Robert Morse [mailto:[EMAIL PROTECTED]]

  1   2   >