Fw: [PHP] php editor?

2003-06-14 Thread ORLANDO POZO
Try to these PHP development environment: * Nusphere Studio * Zend Studio * Maguma Studio hello all people in the PHP mailing list, bye. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 15 Jun 2003 06:46:21 -0000 Issue 2118

2003-06-14 Thread php-general-digest-help
php-general Digest 15 Jun 2003 06:46:21 - Issue 2118 Topics (messages 151500 through 151540): How to write a DLL that can play with w32api? 151500 by: DvDmanDT 151517 by: DvDmanDT Re: Minimalistic BBcode script 151501 by: Jason Wong Re: php editor? 151502 by

Re: [PHP] is my server working

2003-06-14 Thread John Hicks
Merry-- No, it's not working. Does your Apache httpd.conf file load the PHP modules? Try changing your tags from to Try a page that contains only this one line: Good luck. --John On Sunday 15 June 2003 01:09 am, Khoo Merry wrote: > I'm using windows me, server apache 1.3 for php. > I had

[PHP] is my server working

2003-06-14 Thread Khoo Merry
I'm using windows me, server apache 1.3 for php. I had wrote this code and tried it at local host, but the php code didn't work. The code is like this: Today's date is Istead of print Today's date is Sunday June 14, 2003 Hello World The out put is only "Today's date is". Is my server worki

RE: [PHP] shopping cart and login system

2003-06-14 Thread electroteque
yes i know about that but then the whole basket/cart system is out of your hands i prefer to send the total with the products and quantities or can you not do that ? if not i guess adding the individual items to their basket is the only way the IPN system is confusing aswell :| -Original Messa

[PHP] Sort locale problem

2003-06-14 Thread Johan Grönvall
Hi! I'm trying to sort an array with strings containing swedish characters. However, the sort order is wrong. The following code produces "abäåö" while it should be "abåäö". $list = array("ö", "ä", "a","å","b"); setlocale("LC_ALL","se_SE.ISO8859-1"); usort($list, 'strcoll'); for($i=0;$ihttp://w

Re: [PHP] shopping cart and login system

2003-06-14 Thread Jeff Harris
On Jun 14, 2003, "olinux" claimed that: |hi | |--- electroteque <[EMAIL PROTECTED]> wrote: |> hi there , i am about to build a shopping cart which |> will interact with a |> paypal payment system , the cart will use sessions |> to store the items and |> basket information before checking out and p

[PHP] Re: Securing Source Code

2003-06-14 Thread Manuel Lemos
Hello, On 06/14/2003 02:49 PM, Suhas Pharkute wrote: I am developing a network application. But I need to distribute it to different divisions. I am looking for Ideas for "Securing Source Code" from User. What you need is an encoder like Turck. It is an extension that stored compiled PHP code in

RE: [PHP] php editor?

2003-06-14 Thread electroteque
this is exactly what i do , edit through samaba on a development server then cvs up to the live server -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] php editor? One thing that works well for me (edito

RE: [PHP] php editor?

2003-06-14 Thread Mike
One thing that works well for me (editor aside) is creating a staging server (staging.domain.com) and doing all edits there. Then when everything is just the way you want it, I have a script that copies everything from the staging site to the live site. It prevents having to work on your live prod

Re: [PHP] isset()

2003-06-14 Thread Justin French
$output_fname = (isset($HTTP_POST_VARS['fname'])) ? $HTTP_POST_VARS['fname'] : ''; but the value WILL be set regardless... in this case i'd prefer: if(isset($HTTP_POST_VARS['fname'])) { $output_fname = $HTTP_POST_VARS['fname']; } alternatively, I wrote a nice function to pluck out $_POST vars o

RE: [PHP] php editor?

2003-06-14 Thread electroteque
err to be exact i map my directories with samba and edit straight onto the server that way :O -Original Message- From: Kevin Ison [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 7:33 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php editor? now theres a sadistic way to code! I used

[PHP] Problem to start apache after installed PHP.

2003-06-14 Thread Niklas Janzon
Hi .. i got a problem to restart my apache (2.0.46) server on my linux system after i installed PHP 4.3.2. I get this message: [EMAIL PROTECTED]:/usr/local/apache2/bin/ > ./apachectl restart Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/libexec/libphp4.so into

Re: [PHP] isset()

2003-06-14 Thread Daniel J. Rychlik
Why is my script autopopulating a "1" in the field names and not the orginal values ? Is it something to do with this statement ? $output_fname = isset($HTTP_POST_VARS['fname']); Im declaring the var and using it in value field in my form. I know that I missing something. Its returning true when

Re: [PHP] php editor?

2003-06-14 Thread Ryan A
If you read what i originally wrote you will see that I recomend buying zend, I didnt give directions/info to crack anything (as i dont know how to crack in the first place), if you can afford it compared to all the editors i have tried zend is the best. Besides,did I say something that we all don

Re: [PHP] php editor?

2003-06-14 Thread John Nichel
Ryan A wrote: What can i say? if you aint living on the edge you're taking up too much space I reccomend you don't talk about cracking Zend software on a list owner by Zend... Living on the edge is one thing. Biting the hand that feeds you is another. As for the topic on hand, for Windows

Re: [PHP] manually unserializing session data

2003-06-14 Thread Leif K-Brooks
http://us3.php.net/manual/en/function.session-decode.php Andrew Warner wrote: How do you manually unserialize session data? Using unserialize() on session data from a sessions table is not working for me. I have modified the gc function of my MySQL session handler to save data from expired se

Re: [PHP] php editor?

2003-06-14 Thread Ryan A
What can i say? if you aint living on the edge you're taking up too much space > I reccomend you don't talk about cracking Zend software on a list owner > by Zend... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php editor?

2003-06-14 Thread Leif K-Brooks
I reccomend you don't talk about cracking Zend software on a list owner by Zend... Ryan A wrote: but you can make it a free version if you want ;-p -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the

Re: [PHP] php editor?

2003-06-14 Thread Ryan A
I have tested quite a few editors since i came to php as notepad started to p1ss me off after some time... I have never really touched vi so cant say much about that but I think Zend is pretty good (ill even dare say better) compared to the others(homesite, phpedit,editplus etc) you DO get only a 2

Re: [PHP] sessions security (no problems just question)

2003-06-14 Thread vh
JH> are associated with a specific id. First, URLs carrying session ids. If JH> you link to an external site, the URL including the session id might be JH> stored in the external site's referrer logs. Second, a more active JH> attacker might listen to your network traffic. If it is not encrypted, J

Re: [PHP] reverse DNS lookup with PHP

2003-06-14 Thread Lars Torben Wilson
On Sat, 2003-06-14 at 14:38, Tom Ray [Lists] wrote: > $_SERVER[REMOTE_HOST]; > > This will do a reverse lookup on their IP. > > Manual Link: > http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server Actually, this isn't true. $_SERVER['REMOTE_HOST'] will contain the hostnam

[PHP] isset()

2003-06-14 Thread Daniel J. Rychlik
Having a bit of trouble with my forms returnin 1 in the form fields accept the data that was entered. I think its because of this line, $output_fname = isset($HTTP_POST_VARS['fname']); I have a command action handler also that works in the same script and it seems to work well, the only pr

Re: [PHP] php editor?

2003-06-14 Thread Kevin Ison
personnaly I kind of grew up on vi many many moons ago "Tom Ray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Why not just use PICO? > > Kevin Ison wrote: > > >now theres a sadistic way to code! I used to use vi... to be honest I like > >it. but on a windows platform crimson ed

Re: [PHP] php editor?

2003-06-14 Thread Tom Ray [Lists]
Why not just use PICO? Kevin Ison wrote: now theres a sadistic way to code! I used to use vi... to be honest I like it. but on a windows platform crimson editor works well. "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Because some of us, work directly on the se

[PHP] Re: How to write a DLL that can play with w32api?

2003-06-14 Thread DvDmanDT
Ok, I solved the problem by calling GlobalMemoryStatus() inside the DLL and then using references to the PHP variables... Some things I noticed during this playing: - It seems like this code doesn't set the values of $a: $a=$api->InitType("MEMORYSTATUS"); $api->GlobalMemoryStatus($a); or php do

Re: [PHP] reverse DNS lookup with PHP

2003-06-14 Thread Tom Ray [Lists]
$_SERVER[REMOTE_HOST]; This will do a reverse lookup on their IP. Manual Link: http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server Hope it helps Tim Thorburn wrote: Hi, I'm setting up a simple tracking program for a website I'm working on. Currently it records a vis

[PHP] reverse DNS lookup with PHP

2003-06-14 Thread Tim Thorburn
Hi, I'm setting up a simple tracking program for a website I'm working on. Currently it records a visitors IP address, but I would like to be able to do a DNS lookup of these IP addresses. Is this possible with PHP and if so, how is it done? I've been looking through Google, and the very fe

Re: [PHP] php editor?

2003-06-14 Thread Kevin Ison
now theres a sadistic way to code! I used to use vi... to be honest I like it. but on a windows platform crimson editor works well. "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Because some of us, work directly on the server, instead of modifying > files, then up

Re: [PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
with the proper line breaks: $dat="$_GET[gallery].dat"; $file=fopen($dat, 'r'); $contents = fread ($file, filesize ($dat)); fclose($file); $img=explode("|",$contents); print ""; foreach($img as $image) { if($image) print ""; } print ""; Tom Ray [Lists] wrote: I'm having a bit of a formatt

[PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
I'm having a bit of a formatting issue, and I was wondering if someone might have an idea on how to solve it. Basically what I have right now is a script that opens and reads the content of an image directory, each time the script is accessed it writes the contents out to a text file for me. I

[PHP] manually unserializing session data

2003-06-14 Thread Andrew Warner
How do you manually unserialize session data? Using unserialize() on session data from a sessions table is not working for me. I have modified the gc function of my MySQL session handler to save data from expired session records to another table, 'sessions_saved'. I can get the session data

Re: [PHP] Very Wierd Problem

2003-06-14 Thread John W. Holmes
James E Hicks III wrote: \0 is a NULL character, IIRC. Either use single quotes: echo ('EBCO\030774-006\BUBBLER VALVE'); or use two slashes, like you did above: echo ("EBCO\\030774-006\\BUBBLER VALVE"); ---John Holmes... Problem is that this description is coming from a DB, that's why I was try

RE: [PHP] php editor?

2003-06-14 Thread Lars Torben Wilson
On Sat, 2003-06-14 at 12:59, electroteque wrote: > boy how painfully dweebish is vi why make it harder for yourself :O Please don't start this again. If you want arguments about editors just read the old ones in the archives. It's highly unlikely that any useful new arguments will be made if we st

Re: [PHP] php editor?

2003-06-14 Thread Gerard Samuel
Because some of us, work directly on the server, instead of modifying files, then uploading to the server to test :) electroteque wrote: boy how painfully dweebish is vi why make it harder for yourself :O -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] SELECT MULTIPLE form variable?

2003-06-14 Thread Noel Wade
Its the littlest things that kill ya Thanks a ton! As a side note, I definitely do NOT have the brackets on the working page - so its an undefined "feature" (or bug) that numerical-value SELECT MULTIPLE variables post as an array to PHP. Take care, and thanks again! --Noel - Original M

Re: [PHP] SELECT MULTIPLE form variable?

2003-06-14 Thread Leif K-Brooks
You need to name it formfield[], not formfield. Noel Wade wrote: Hi all, So I was under the impression that an HTML form "SELECT MULTIPLE" item would return an array with all of the selected items. This array can then be used with any of the standard PHP array functions, yes? I have 1 HTML page

[PHP] SELECT MULTIPLE form variable?

2003-06-14 Thread Noel Wade
Hi all, So I was under the impression that an HTML form "SELECT MULTIPLE" item would return an array with all of the selected items. This array can then be used with any of the standard PHP array functions, yes? I have 1 HTML page that seems to work fine... However, another page that is nearly

Re: [PHP] Re: php editor?

2003-06-14 Thread Aliaksei Kurets
Not free... hmmm (this is very argue point :))) "Electroteque" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > possibly not free though ? > > -Original Message- > From: Aliaksei Kurets [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 14, 2003 9:15 PM > T

RE: [PHP] Re: php editor?

2003-06-14 Thread electroteque
possibly not free though ? -Original Message- From: Aliaksei Kurets [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 9:15 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: php editor? The best PHP editor I know is Zend Studio. This is a real good editor with debugging, highlighting and

RE: [PHP] php editor?

2003-06-14 Thread electroteque
boy how painfully dweebish is vi why make it harder for yourself :O -Original Message- From: Jeff Harris [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 2:48 AM To: M-Ali Mahmoodi Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php editor? On Jun 14, 2003, "M-Ali Mahmoodi" claimed that:

Re: [PHP] Minimalistic BBcode script

2003-06-14 Thread Jason Wong
On Saturday 14 June 2003 21:53, DZ wrote: > I found one minimalistic BBcode script, but it doesnt work. Wouldn't it be better to find some code which *did* work? > Warning: Unknown modifier '1' in f:\_php\_f\bb-code\test.php on line 32 > > line 32 is such: > > $t = preg_replace_callb

[PHP] How to write a DLL that can play with w32api?

2003-06-14 Thread DvDmanDT
Hello, I was wondering how to write a DLL that I can use from php_w32api.dll? I want to get the memory usage using this code: ### dl("php_w32api.dll"); $api = new win32; $api->definetype("MEMORYSTATUS { long dwLength; long dwMemoryLoad; long d

php-general Digest 14 Jun 2003 17:49:27 -0000 Issue 2117

2003-06-14 Thread php-general-digest-help
php-general Digest 14 Jun 2003 17:49:27 - Issue 2117 Topics (messages 151460 through 151499): Re: AOL and PHP 151460 by: Leif K-Brooks Re: which is quicker? XML or database? 151461 by: John Hicks 151496 by: Robert Cummings Re: Zend Optimizer not active? 151

[PHP] Securing Source Code

2003-06-14 Thread Suhas Pharkute
Hello, I am developing a network application. But I need to distribute it to different divisions. I am looking for Ideas for "Securing Source Code" from User. Please Help! Suhas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] shopping cart and login system

2003-06-14 Thread olinux
hi --- electroteque <[EMAIL PROTECTED]> wrote: > hi there , i am about to build a shopping cart which > will interact with a > paypal payment system , the cart will use sessions > to store the items and > basket information before checking out and posting > to the paypal form , what > i'd like to

Re: [PHP] How do I replace browser history using Header()?

2003-06-14 Thread Neil Freeman
Hmmm. As I thought. Thanks anyway Mark. Neil Mark Charette wrote: *** This Message Was Virus Checked With : SAVI 3.70 June 2003 Last Updated/Checked 12th June 2003

Re: [PHP] which is quicker? XML or database?

2003-06-14 Thread Robert Cummings
John Hicks wrote: > > Hi Justin-- > > I've been wrestling with a similar problem. > > You say: > > I'm considering: > > > > a) storing this data in a MySQL table (a fairly simple > > query) b) storing this data in a pseudo XML format like: > > > > 24 > > Justin French > > [EMAIL PROTECTED] > > 2

Re: [PHP] php editor?

2003-06-14 Thread Jeff Harris
On Jun 14, 2003, "M-Ali Mahmoodi" claimed that: |hi all |i'm a beginner in php |can anyone help me about useful and powerful editors in php? vi -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import" Key fingerprint = 52FC 20BD 025A 8C13 5FC6

Re: [PHP] sessions security (no problems just question)

2003-06-14 Thread Jeff Harris
On Jun 14, 2003, "Ryan A" claimed that: |Hi, |I have been reading up on the old discussions on this list as i was very |busy for the past few daysand i saw a very intresting topic regarding |sessions and security. | |I really didnt understand some of the things you guys wrote on "hi-jacking a

[PHP] need help with using java in PHP

2003-06-14 Thread Kevin Ison
ok heres the scenerio: php.ini: [Java] java.class.path = C:\apache\php\JAVA\php_java.jar;c:\apache\htdocs\ktest\;. java.home = C:\j2sdk1.4.1_01\bin\ java.library = C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll java.library.path = C:\apache\php\extensions\;C:\apache\php\;.\ the PHP source code: exi

Re: [PHP] PHP installation on RedHat

2003-06-14 Thread Yann Larrivee
Hi i made a tutorial on how to compile php, expath, libxml, sablotron It works well for me. I ran into many probleme so i made an faq page where all errors are listed with an explanation, solution. If anybody encounter other errors i will put them there too. I compile on Suse 8.2 but i dont thin

Re: [PHP] $command actions

2003-06-14 Thread Daniel J. Rychlik
It worked! thanks so much. I did however place another ( on the second $HTTP_POST_ to make it function with out error. Appreciate your time! dan - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: "Daniel J. Rychlik" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Satur

Re: [PHP] $command actions

2003-06-14 Thread Leif K-Brooks
Whoops! $command = isset($HTTP_POST_VARS['action']) and $HTTP_POST_VARS['action'] == "data_input") ? "check" : "display"; Daniel J. Rychlik wrote: I recieved a unexpected T_LOGICAL_AND, expecting ',' or ')'; - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: "Danie

Re: [PHP] $command actions

2003-06-14 Thread Daniel J. Rychlik
I recieved a unexpected T_LOGICAL_AND, expecting ',' or ')'; - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: "Daniel J. Rychlik" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, June 14, 2003 10:22 AM Subject: Re: [PHP] $command actions > $command = isset

Re: [PHP] Problem in windows

2003-06-14 Thread David Otton
On Sat, 14 Jun 2003 08:02:57 -0400, you wrote: >I just installed php/mysql on my windows machine, now when I try to run >a script I get this: > >Use of undefined constant s_UID - assumed 's_UID' in >c:\inetpub\wwwroot\php_test\inc\session.php > >And then some Undefined variable: s_UserInfo. > >An

RE: [PHP] Very Wierd Problem

2003-06-14 Thread James E Hicks III
> \0 is a NULL character, IIRC. Either use single quotes: > echo ('EBCO\030774-006\BUBBLER VALVE'); > or use two slashes, like you did above: > echo ("EBCO\\030774-006\\BUBBLER VALVE"); > ---John Holmes... Problem is that this description is coming from a DB, that's why I was trying to use addsla

Re: [PHP] $command actions

2003-06-14 Thread Leif K-Brooks
$command = isset($HTTP_POST_VARS['action'] and $HTTP_POST_VARS['action'] == "data_input") ? "check" : "display"; Daniel J. Rychlik wrote: I have a line of code in my form that I am trying to get to work. $action = ($HTTP_POST_VARS['action'] == "data_input") ? "check" : "display"; I recieved

Re: [PHP] Very Wierd Problem

2003-06-14 Thread John W. Holmes
James E Hicks III wrote: I am experiencing some weird problems with PHP. When I execute the following query from within a PHP script, the description is set to 'EBCO' and not 'EBCO\030774-006\BUBBLER VALVE'. When I execute this query from the mysql monitor the value is inserted correctly. $query =

[PHP] PHP installation on RedHat

2003-06-14 Thread Info Best-IT
Anyone know where I can get a better step by step how to for installation of PHP with DOM, XSLT, and XPATh support on Red Hat? PHP.NET is not so hot... /T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] $command actions

2003-06-14 Thread Daniel J. Rychlik
I have a line of code in my form that I am trying to get to work. $action = ($HTTP_POST_VARS['action'] == "data_input") ? "check" : "display"; I recieved undefined action when running. So I did this. $command = isset($HTTP_VARS['action'] == "data_input") ? "check" : "display"; I recieve unex

[PHP] Re: Warning Spammer

2003-06-14 Thread Ryan A
Hey, > truth is unless it has a header with something about Bounce-to: spammer or > the From address is actually correct, it never gets to the spammer. what > spamers use now are spy images or javascripts, html content with an image > that includes an id with it so that when the person views the

[PHP] sessions security (no problems just question)

2003-06-14 Thread Ryan A
Hi, I have been reading up on the old discussions on this list as i was very busy for the past few daysand i saw a very intresting topic regarding sessions and security. I really didnt understand some of the things you guys wrote on "hi-jacking a session"...do you have any examples of this? Ho

[PHP] Very Wierd Problem

2003-06-14 Thread James E Hicks III
I am experiencing some weird problems with PHP. When I execute the following query from within a PHP script, the description is set to 'EBCO' and not 'EBCO\030774-006\BUBBLER VALVE'. When I execute this query from the mysql monitor the value is inserted correctly. $query = "update the_table

RE: [PHP] How do I replace browser history using Header()?

2003-06-14 Thread Mark Charette
> -Original Message- > From: Neil Freeman [mailto:[EMAIL PROTECTED] > Is there any way that I can do a PHP Header() statement that does the > equivalent of JavaScript's > window.self.location.replace("http://www.mysite.com/mypage.php";)? No. JavaScript (if turned on) is your only choic

[PHP] How do I replace browser history using Header()?

2003-06-14 Thread Neil Freeman
Hi, I am using Header("Location:http://www.mysite.com/mypage.php";); to do a browser redirect. This works fine. The problem though is that doing this adds a page to the browser's window.self.history() collection. Is there any way that I can do a PHP Header() statement that does the equivalent

Re: [PHP] Problem in windows

2003-06-14 Thread Brian V Bonini
I love that subject line... All I could think was, "of course"... Sorry, couldn't resist that.. ;-) On Sat, 2003-06-14 at 08:02, James Stanley wrote: > Hello, > > I just installed php/mysql on my windows machine, now when I try to run > a script I get this: > > Use of undefined constant s_UID

[PHP] Minimalistic BBcode script

2003-06-14 Thread DZ
Hello, I found one minimalistic BBcode script, but it doesnt work. Warning: Unknown modifier '1' in f:\_php\_f\bb-code\test.php on line 32 line 32 is such: $t = preg_replace_callback( '/[('.$atag.')(=(.*))?](.*)[/1]/isU', 'nc', $s); How to get work it? Source is only 40 line

Re: [PHP] header() and mozilla - HELP!

2003-06-14 Thread Neil Freeman
Ensure that you have a die; after the Header() line. Neil deno vichas wrote: *** This Message Was Virus Checked With : SAVI 3.70 June 2003 Last Updated/Checked 12th June 2003 ***

[PHP] Problem in windows

2003-06-14 Thread James Stanley
Hello, I just installed php/mysql on my windows machine, now when I try to run a script I get this: Use of undefined constant s_UID - assumed 's_UID' in c:\inetpub\wwwroot\php_test\inc\session.php And then some Undefined variable: s_UserInfo. Any thought why could this be? Thanks. James. -- P

[PHP] Re: php editor?

2003-06-14 Thread Aliaksei Kurets
The best PHP editor I know is Zend Studio. This is a real good editor with debugging, highlighting and very good code complete. "M-Ali Mahmoodi" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:[EMAIL PROTECTED] > hi all > i'm a beginner in php > can anyone help me about useful and

RE: [PHP] Mail() and html

2003-06-14 Thread gregory landry
Got it! Thanks... -Original Message- From: gregory landry [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 6:23 AM To: PHP Mail List Subject: [PHP] Mail() and html Good Morning, Hopefully I'm not asking questions that are too basic. I am new to this list and new to PHP. If my q

[PHP] Mail() and html

2003-06-14 Thread gregory landry
Good Morning, Hopefully I'm not asking questions that are too basic. I am new to this list and new to PHP. If my questions are too basic please let me know and I'll direct them elsewhere. I'm at a very basic level with PHP. I'm working with form data and sending the information out in emails.

[PHP] Re: Multiable queries at one time?

2003-06-14 Thread Ben Houlton
And example script i'm trying to use is below: $result2 = mysql_query($sql2); $row2 = mysql_fetch_array($result2); $sql = "SELECT * FROM main WHERE id=$id"; $result = mysql_query($sql); $row = mysql_fetch_array($result); "Ben Houlton" <[EMAIL PROTECTED]> wrote in message

RE: [PHP] php editor?

2003-06-14 Thread electroteque
i use homesite usually but have been helping the php edit guys www.phpedit.net -Original Message- From: M-Ali Mahmoodi [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 4:27 PM To: [EMAIL PROTECTED] Subject: [PHP] php editor? hi all i'm a beginner in php can anyone help me about

RE: [PHP] extracting text from text file to be used in PHP

2003-06-14 Thread Boaz Yahav
You can also use regular expressions. Here is an example : How to extract a string from a bigger string or from an HTML block with regex and PHP http://examples.weberdev.com/get_example.php3?count=3167 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomo

[PHP] php editor?

2003-06-14 Thread M-Ali Mahmoodi
hi all i'm a beginner in php can anyone help me about useful and powerful editors in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Will this work right?

2003-06-14 Thread Ben Houlton
Total newb question... lol, but how do I get this to work with a form... lol, very embarasing to ask this... "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The following function converts minutes to years, monthes, weeks, days, > hours, minutes. For instance, 61 minu

[PHP] calling php files from within shtml files

2003-06-14 Thread Kwgoins1
I have a error page in shtml (must stay that way) but I have a cool one page php script, that acts as a errorpage generator...and a automatic email of all errors to admin...script... in order to make it work correctly... an ".htaccess" file must be in the public_html root... with the following li

[PHP] Multiable queries at one time?

2003-06-14 Thread Ben Houlton
Is it posable to execute multiable queries at one time, so that I can switch tables and switch back with ease? I've been trying for a while to figure out a way of doing this, but with no luck. Any help would be appreciated. Thanks. - Ben