[PHP] error on array loop through foreach?

2003-07-07 Thread Micah Montoy
I'm using the foreach to loop through a array that is passed from a form. The form has a multiple select field and the field sends a list of selected image locations (i.e. c:\\myimages\\rabbit.gif). All the fields are selected by use of JavaScript before the form is submitted. Anyway, I am

Re: [PHP] error on array loop through foreach?

2003-07-07 Thread Lars Torben Wilson
On Mon, 2003-07-07 at 00:16, Micah Montoy wrote: I'm using the foreach to loop through a array that is passed from a form. The form has a multiple select field and the field sends a list of selected image locations (i.e. c:\\myimages\\rabbit.gif). All the fields are selected by use of

[PHP] Request Network ID

2003-07-07 Thread Haitham A. Khaiyat
Hi, I need you help please. I am looking for a function can give the Network ID from LAN. For example, our LAN is based on Windows 2000. How can I get user network account. VB.NET has this built in function Request.ServerVariables(LOGON_USER) Can you help?:

[PHP] php 4.3.2 problem

2003-07-07 Thread user
Hi We're trying to upgrade to php-4.3.2. when we install libphp.so and restart apache, it fails to start with the error Invalid command 'php_admin_value', perhaps mis-spelled I don't understand what's wrong. The syntax of our httpd.conf is working just fine with our current version (4.2.3).

[PHP] Refresh in PHP

2003-07-07 Thread Gary Ogilvie
Hi Everyone, My user has reported a problem when he loads a page. The page grabs data from MSSQL and displays this on the screen. However, it is not updated. Is there any way in getting the page to automatically refresh itself ONCE when it is loaded, without ending up in a loop? Many thanks --

php-general Digest 7 Jul 2003 09:52:10 -0000 Issue 2161

2003-07-07 Thread php-general-digest-help
php-general Digest 7 Jul 2003 09:52:10 - Issue 2161 Topics (messages 154146 through 154162): Re: Warning: Invalid argument supplied for foreach() 154146 by: Sævar Öfjörð 154147 by: Dave [Hawk-Systems] 154148 by: Philip Olson Re: Having problems with an IF statement,

Re: [PHP] instanceof on class (not objects) php 5

2003-07-07 Thread Marek Kilimajer
Maybe if (new MyClass instanceof_equiv tester) { ... } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Having problems with an IF statement, just doesn't make sense

2003-07-07 Thread Harry Wiens
if (isset($theme)) { print(Current theme is $theme); require content/header_$theme.php; if you try to send headers in header_$theme.php, this wont work, because you can't send headers after you've printed or echoed something. try this: if (isset($theme)) { require

[PHP] Read a file and scroll it?

2003-07-07 Thread Dave Carrera
Hi All I know that some level of JS will be needed for this but how can I do this. 1) I have a script that writes to a file. All ok there ;-) 2) I want to load this contents of the file, line by line, so that it scrolls upwards. So how can I do that. What JS would I need and how do I read the

[PHP] php pages without .php extension on linux and windows

2003-07-07 Thread Heiko Mundle
I try to use PHP and Apache on both Linux (SuSE 8.1) and Windows (2K). On Linux I can access the PHP scripts without adding the .php extension. E.g. http://mydomain/myscript?para1=TRUE for http://mydomain/myscript.php?para1=TRUE But on Windows it doesn't work (page not found - HTTP 404) How do I

[PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX, Windows, and the Sharpe family of Linux PDAs

2003-07-07 Thread john
Hi Do you want to create, edit, or update your PHP databases remotely within a nice Graphic User Interface without having to use your Web Browser, well you can do that with Rekall and last week Rekall V2.0.0 was finally released for KDE3. QT3-only, Windows and Sharp Zaurus. We even have a run

[PHP] Re: Having problems with an IF statement, just doesn't make sense

2003-07-07 Thread Valentina
I've tried...print nothing in my browser then it seems to me correct. The condition ELSE is satisfied. bye. codeused: if (isset($theme)) { print(Current theme is $theme); require content/header_$theme.php; } else { print($theme); require content/header.php; } codeused. Bobb [EMAIL

[PHP] Security-other than safe mode?

2003-07-07 Thread MIKE YRABEDRA
Hello, I have many of my clients set up in 'safe_mode' mainly for security reasons. Well, as many of you know, that limits the way PHP functions. Especially on complex apps. Here is what I include in their httpd configs now... php_admin_flag safe_mode on php_admin_flag

[PHP] PHP and MYSQL

2003-07-07 Thread Bob G
Please help I am going quite mad. I am trying to install PHP-4. I purchased the PHP and MySQL web development book to this end. I am running under Win2000 and IIS. I downloaded from the PHP web site to get the latest versions. I first tried to do a manual installation but this appeared to fail so

[PHP] Frustrating problem with log-in script

2003-07-07 Thread George Pitcher
Hi, I' running a self-registration script. On the login page are 2 fields: 'username' and 'paswd'. The contents are checked against a db. New users must enter 'new' and 'user' into these fields and that will skip the db check and dump them into a registration page. On testing (after it worked

RE: [PHP] Frustrating problem with log-in script - DOHHH - Solved

2003-07-07 Thread George Pitcher
Sorry guys, I wasted your time if you looked at this. The local.php as copied from my local machine and had 'localhost' as the base url rather than the proper web address. Meet Dumbererer! George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Steve Jackson
Hi, I want to write a PHP template with a variable number of the last recordset in a MySQL DB being the number referenced in the file. This is so my file can be saved as a PHP page looking at the right content in a database for a content management system. I am stuck on the way to do it. The code

[PHP] daemonized php

2003-07-07 Thread Uros
Hello! Can somebody give me any workable example how to run some script written in PHP in Unix console. I wan't to write some server aplication. So it has to be run in the backgroud. -- Best regards, Uros -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Refresh in PHP

2003-07-07 Thread Greg Donald
My user has reported a problem when he loads a page. The page grabs data from MSSQL and displays this on the screen. However, it is not updated. Is there any way in getting the page to automatically refresh itself ONCE when it is loaded, without ending up in a loop? Javascript will do that.

[PHP] Re: PHP and MYSQL

2003-07-07 Thread Cybot
Here is the script for what it's worth. ... body bgcolor=#FF text=#00 h2IS IT WORKING?/h2 plt;?php phpinfo(); ?gt; /p /body /html and the result is IS IT WORKING? ?php phpinfo(); ? are your trying to fool the list? whate else do you expect than when you write gt; ?? would ASP work if

Re: [PHP] daemonized php

2003-07-07 Thread Dan Anderson
start your PHP files with: #! /usr/bin/php Replace /usr/bin/php with the path to php. You will need to make the file executable by chmod ing it. (try: $ chmod +x ./yourscript.php ) As a side note, starting any text file with #! followed by the path to a language interpreter, and chmoding

Re: [PHP] daemonized php

2003-07-07 Thread David T-G
Uros -- ...and then Uros said... % % Hello! Hi! % % Can somebody give me any workable example how to run some script written in % PHP in Unix console. Sure. php -q /path/to/script/name (assuming you have the command-line version of php, which you may not, and that your script doesn't

[PHP] what licence for documentation ?

2003-07-07 Thread E.D.
Hi, I'd like to know which licence has the documentation. PHP licence ? free licence ? public domain ? other ? In other words, I want to include some parts in a commercial product, can I ? Please answer only if you *know*, I can't go with suppositions. -- E.D. -- PHP General Mailing List

RE: [PHP] Refresh in PHP [solved]

2003-07-07 Thread Gary Ogilvie
Yeah I found that out eventually. Thanks :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] daemonized php

2003-07-07 Thread Greg Donald
Can somebody give me any workable example how to run some script written in PHP in Unix console. #!/usr/local/bin/php -q ?php echo Example script; ? I wan't to write some server aplication. So it has to be run in the backgroud. Have a look at the process control functions:

Re: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Andrew McCombe
- Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:34 PM Subject: [PHP] How to insert a variable into a PHP template. Hi, I want to write a PHP template with a variable number of the last recordset in a MySQL

Re[2]: [PHP] daemonized php

2003-07-07 Thread Uros
Hello, Ok let be more specific about my idea. Because I'm better php programer than C I decided to write this in php. I use comandline php. I want to write some daemon to be started ./myprog Than this has to be run until I cancel it. But I also want to check somehow, what this proces is doing

Re: [PHP] what licence for documentation ?

2003-07-07 Thread Dan Anderson
Check out: http://www.php.net/license/ -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Dan Anderson
Remember to ?php set_time_limit(0); ? http://us4.php.net/manual/en/function.set-time-limit.php That will allow your PHP program to run infinitely long -- and not time out after x seconds. -Dan On Mon, 2003-07-07 at 09:08, Uros wrote: Hello, Ok let be more specific about my idea. Because

Re: [PHP] daemonized php

2003-07-07 Thread Adam Voigt
#!/usr/local/bin/php -q ?php set_time_limit(0); while(true) { // do something } ? Then: chmod u+x scriptname ./scriptname On Mon, 2003-07-07 at 08:41, Uros wrote: Hello! Can somebody give me any workable example how to run some script

RE: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Steve Jackson
mysql_insert_id(); How would I call that in my query? Because I tried that and I get resource ID=2 Also putting it into a string and writing it to a file, sounds good to me, that's what I was thinking but how do you do it? Can it just be written as: $string =all my code including ;''=}{[]

RE: [PHP] fsockopen - returning results from port 80, 8080 and 443 requests

2003-07-07 Thread Dave [Hawk-Systems]
any takers on this, before I give up and drop to curl for those types of requests? Dave Creating a quick script where we can poll the services on a particular server to verify if they are running or not. this will be included in a larger scope application once the details are worked out. Am

Re[2]: [PHP] daemonized php

2003-07-07 Thread Uros
Hello, ok what about checking status what this program is doing right now. can this be done with http://www.php.net/manual/en/ref.pcntl.php tia Uros Monday, July 7, 2003, 3:16:35 PM, you wrote: AV #!/usr/local/bin/php -q AV ?php AV set_time_limit(0); AV while(true) AV

Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Adam Voigt
Umm, have your PHP program output a integer to a file somewhere, and just map the integer to a status, example, if 1 exists in the file, it's doing step 1, etc. On Mon, 2003-07-07 at 09:30, Uros wrote: Hello, ok what about checking status what this program is doing right now. can this be

[PHP] print vs heredoc

2003-07-07 Thread Sparky Kopetzky
Hi, again!! I'm looking for opinions as to which is better/faster, print or heredoc. print makes the code layout look nice and eazy to debug, where heredoc IS faster but makes the code look like a nightmare with everything jammed against the left side of the code. I'm pretty picky about what

Re[4]: [PHP] daemonized php

2003-07-07 Thread Uros
Hello Adam, I was thinking about using parent and child proces. So when i start server it will call some child process and that I can ask parent what his child is doing. I found some examples on php.net. But I sill wan't to hear from you php experts. Anybody do such thing in real example or

Re: [PHP] daemonized php

2003-07-07 Thread Marek Kilimajer
Uros wrote: Than this has to be run until I cancel it. But I also want to check somehow, what this proces is doing right now. If you want it to be realy nice, use shared memory. But this extension is not enabled by default and is available only on unices. -- PHP General Mailing List

[PHP] Embedding an image in an email

2003-07-07 Thread Todd Cary
I would like to encode and embed an image in a file that can be emailed. Is there some documentation on how to do this? Todd -- inline: NewLogo.gif

[PHP] Re: Embedding an image in an email

2003-07-07 Thread Hugh Bothwell
Todd Cary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would like to encode and embed an image in a file that can be emailed. Is there some documentation on how to do this? First, it's a bad idea... if you *must* show images, it's far better to stick them on a web server and

[PHP] Catch Signals

2003-07-07 Thread Adam Voigt
I have a PHP script that is running constantly in the background, and I've used CYGWIN to register it as a service, but the problem is when I try to stop/start (restart) it from the service control manager, it just sits and spins on the stop portion. I'm fairly sure this is because the PHP

[PHP] Session start problem

2003-07-07 Thread Mathieu Dumoulin
We are using php 4.0.6 here on a dev server and we are getting a weird session_start() problem. After setting up the login on another page, if we register any of our three required varaibles to go on, the session_start() will simply crash and loop endlessly. We have tested everything: - setting

Re: [PHP] Re: Embedding an image in an email

2003-07-07 Thread Marek Kilimajer
Hugh Bothwell wrote: First, it's a bad idea... if you *must* show images, it's far better to stick them on a web server and refer to them from your email. In fact this is discouraged. This is the way spammers get confirmation of active email addresses, so most mail clients loading of remote

Re: [PHP] php pages without .php extension on linux and windows

2003-07-07 Thread Jeff Harris
On Jul 7, 2003, Heiko Mundle claimed that: |I try to use PHP and Apache on both Linux (SuSE 8.1) and Windows (2K). | |On Linux I can access the PHP scripts without adding the .php extension. |E.g. |http://mydomain/myscript?para1=TRUE |for |http://mydomain/myscript.php?para1=TRUE |But on Windows

Re: [PHP] instanceof on class (not objects) php 5

2003-07-07 Thread Greg Beaver
Hi, I can't instantiate the class, as there is no way to guarantee that the constructor doesn't require arguments, and I don't want to halt program execution if it doesn't implement tester Greg Marek Kilimajer wrote: Maybe if (new MyClass instanceof_equiv tester) { ... } ? -- PHP

[PHP] Call by reference to function arguments

2003-07-07 Thread Alain Williams
Hi, I want to write a function (as I have written in several other languages) that obtains it's arguments dynamically (using func_get_arg()) and then assigns to that argument. Think of the way that scanf() works -- that sort of thing. I have distilled what I want to do in the code below. foo

[PHP] mail() function

2003-07-07 Thread Mike At Spy
Is anyone familiar with the mail function and how it works on the server? I can't get it to work on a client's server, and this error shows up in the error log: PHP Warning: U1À‰å]Éö¼': Unable to initialize module Module compiled with debug=144, thread-safety=135 module API=1119810252 PHP

Re: [PHP] mail() function

2003-07-07 Thread Adam Voigt
Yeah, umm, thats a weird error message. What server platform / OS? On Mon, 2003-07-07 at 12:58, Mike At Spy wrote: Is anyone familiar with the mail function and how it works on the server? I can't get it to work on a client's server, and this error shows up in the error log: PHP Warning:

[PHP] php5 methode + num parameters

2003-07-07 Thread Yann Larrivee
Hi i have the fallowing code (simplified) class FormElement { private $element_id = null; private $element_name = null; private $element_type = null; private $element_style = null; private $element_string = null; public function FormElement($properties) {

[PHP] Re: Session start problem

2003-07-07 Thread Mathieu Dumoulin
Problem was that the TMP dir was full and we couldn'T write down the session file... Seems this jams the server completly. Be aware that if anything like that happen to you that you have to check fro the TMP files that might be overflooding your partition. Mathieu Dumoulin [EMAIL PROTECTED] wrote

Re: [PHP] Call by reference to function arguments

2003-07-07 Thread David Otton
On Mon, 7 Jul 2003 17:36:26 +0100, you wrote: I want to write a function (as I have written in several other languages) that obtains it's arguments dynamically (using func_get_arg()) and then assigns to that argument. Think of the way that scanf() works -- that sort of thing. I have distilled

Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Greg Donald
Ok let be more specific about my idea. Because I'm better php programer than C I decided to write this in php. I use comandline php. I want to write some daemon to be started ./myprog Than this has to be run until I cancel it. But I also want to check somehow, what this proces is

Re: Re[4]: [PHP] daemonized php

2003-07-07 Thread Greg Donald
But I sill wan't to hear from you php experts. Anybody do such thing in real example or this is can only be my dream. Although I may not be the PHP expert you seek, I do have lots of command line PHP scripts: mailings, spam filter, db maintenance.. I even have an IRC bot written in PHP. --

[PHP] Re: php5 methode + num parameters

2003-07-07 Thread Greg Beaver
Hi Yann, In my experience, PHP 4 only complains if you pass in too few arguments, not too many. If you would like an exception, you could try class MyException extends Exception { private $_msg; function __construct($msg = '';) { $this-_msg = $msg; } public function

RE: [PHP] mail() function

2003-07-07 Thread Mike At Spy
I can't tell what the version is, but I can tell you that the kernel is: 2.4.7-10 Maybe it has something to do with what identity php or sendmail is running under? Thanks, -Mike -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:01 PM

RE: [PHP] mail() function

2003-07-07 Thread Brian S. Drexler
I've gotten that error message when running PHP from the command line. The script still works even though it gives me that error though. If anyone figures out what it's from or how to fix it I'd be interested in their solution. -Original Message- From: Mike At Spy [mailto:[EMAIL

RE: [PHP] mail() function

2003-07-07 Thread Brian S. Drexler
Can you run a regular phpinfo() command? -Original Message- From: Mike At Spy [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:57 PM To: [EMAIL PROTECTED]; Mike At Spy Cc: [EMAIL PROTECTED] Subject: RE: [PHP] mail() function I can't tell what the version is, but I can tell you

[PHP] URL problem

2003-07-07 Thread Sparky Kopetzky
Hi! I'm passing this url to the script: http://www.fttta.com/auction.php and intercepting it with: if ($_SERVER['QUERY_STRING'] = ) { disp_cat(); } However, nothing is happening. phpinfo show $_SERVER['QUERY_STRING'] as 'no value', so this should work. Anyone know why this doesn't

RE: [PHP] mail() function

2003-07-07 Thread Mike At Spy
Never really thought about that, but the perms are set at 644 for the script trying to do the actual function. I ran the command to find the version at command line, but the script that sends mail is part of a web site (so I am running it through my browser). -Mike -Original

[PHP] PEAR

2003-07-07 Thread r-militante
hi i'm interested in learning more about the PEAR project, and the possibility of incorporating PEAR code in my future projects. i was wondering if anyone can recommend some good PEAR tutorials. i also wanted to get an idea as to the percentage of people who use PEAR on a regular basis in

[PHP] Re: PHP and MYSQL

2003-07-07 Thread jsWalter
Bob G [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Please help I am going quite mad. ... The PHP.INI file is in the PHP directory. the php.ini in your PHP directory is useless It needs to be in 1 of 3 places... 1) the IIS root directory, meaning where IIS EXE is at, *not*

Re: [PHP] URL problem

2003-07-07 Thread Brad Pauly
Sparky Kopetzky wrote: and intercepting it with: if ($_SERVER['QUERY_STRING'] = ) { disp_cat(); } However, nothing is happening. phpinfo show $_SERVER['QUERY_STRING'] as 'no value', so this should work. Anyone know why this doesn't work?? Yes. You are using an assignment operator where you

[PHP] Advise needed - rateing/voteing system

2003-07-07 Thread Ryan A
Hey Guys, I need a little help coz I dont know if i have missed anything in my design 1) I want to make rateing/voteing system (something like the one that is being used at hotscripts) that will take around 5 parameters via radio buttons and make sure that the person cant rate/vote more than

[PHP] qry not running??

2003-07-07 Thread Micah Montoy
Anyone see what is wrong with this? //get category info $result = mssql_query(SELECT cat_id, cat_name FROM category WHERE cat_id = '$cat_name'); $catID = mssql_result($result,0,cat_id); //line 32 $catName = mssql_result($result,0,cat_name); //line 33 I'm getting the error: Warning:

Re: [PHP] qry not running??

2003-07-07 Thread Brad Pauly
Micah Montoy wrote: //get category info $result = mssql_query(SELECT cat_id, cat_name FROM category WHERE cat_id = '$cat_name'); $catID = mssql_result($result,0,cat_id); //line 32 $catName = mssql_result($result,0,cat_name); //line 33 I'm getting the error: Warning: mssql_result(): Bad row

[PHP] connect to MAS 90 200 with PHP

2003-07-07 Thread Joe Harman
I am curious if anyone is using PHP to connect to a MAS 90 or 200 database?? I am interested in any info on this if anyone has any... THX, Joe

RE: [PHP] mail() function

2003-07-07 Thread Mike At Spy
They have it set to Show all errors except for notices. -Mike -Original Message- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 2:18 PM To: 'Mike At Spy' Subject: RE: [PHP] mail() function Ok, so if it is a command line issue it's not the problem

Re: [PHP] Advise needed - rateing/voteing system

2003-07-07 Thread David Otton
On Mon, 7 Jul 2003 21:07:14 +0100, you wrote: check sessions if session is not set check cookie if cookie is not set checkip if ip is not set do a reverse ip check if that too comes clean then allow the person a vote as you can see i am trying my best to make sure that the visitor only votes

Re: [PHP] qry not running??

2003-07-07 Thread Miles Thompson
Micah, Echo your SELECT statement to make certain it reads the way it should. Test for number of rows returned, or an error - $result probably contains nothing, that is it's not pointing to an array. Miles At 01:23 PM 7/7/2003 -0600, Micah Montoy wrote: Anyone see what is wrong with this?

[PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Apollo (Carmel Entertainment)
STOP SPAMING the list. Is your product free of charge/ opensource? NO! If you are charing for your product and your source is not open, you have no place on opensource lists. This is 3rd list you are spamming. Somebody block this free-rider from this list. BTW, MSAccess can be had for less and you

[PHP] Re: connect to MAS 90 200 with PHP

2003-07-07 Thread Mike Smith
I have used MAS90. If you're using MAS90 you'll need to create an ODBC connection (http://us3.php.net/manual/en/ref.odbc.php). If it's MAS200 (SQL) use mssql functions (http://us3.php.net/manual/en/ref.mssql.php). By installing the MAS90 client software you install the necessary ODBC drivers

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-07 Thread Graham Rule
On Mon, 30 Jun 2003, Peter Janett wrote: This issue seems to be a huge issue, and I've been looking for a good solution for quite a long time. My concern is that a shell emulating PHP or Perl script run as Apache can read or copy ANY PHP script used with PHP as an Apache module. The reason I

Re: [PHP] what licence for documentation ?

2003-07-07 Thread Lars Torben Wilson
On Mon, 2003-07-07 at 05:49, E.D. wrote: Hi, I'd like to know which licence has the documentation. PHP licence ? free licence ? public domain ? other ? In other words, I want to include some parts in a commercial product, can I ? Please answer only if you *know*, I can't go with

Re: [PHP] Request Network ID

2003-07-07 Thread Mark
Are you trying to find out who is currently logged on locally? Who the webserver is running as? If you want to know who is logged in locally, you can use whoami from the command line (or via exec, passthru, or system). You can also check out http://www.sysinternals.com for some neat comand line

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-07-07 Thread Wendell Brown
On Mon, 7 Jul 2003 21:01:40 +0100 (BST), Graham Rule wrote: The only place that they are available is to PHP scripts run in the relevant directory. Which means that if a hacker finds a cross script hack in one of those directories (ie, if you have a security hole in one of your php scripts),

[PHP] PHP/Content Management

2003-07-07 Thread Robert Samuel White
Just a quick message to let everyone know that after ten months I have finally released the first official open source version of eNetwizard Matrix Server, my sophisticated content management system and application server. All it needs is PHP, MySQL, and Apache. Full instructions are

[PHP] a recommended FREE PHP shopping cart

2003-07-07 Thread Noah Solodky
Hello can any one recommended a FREE PHP /MYSQL shopping cart,,that they have set up themselves?? thanks so much -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Steve Keller
At 7/7/2003 03:07 PM, Apollo (Carmel Entertainment) wrote: If you are charing for your product and your source is not open, you have no place on opensource lists. Just out of curiosity, where did you get the idea this is an open source mailing list? There are plenty of commercial PHP

[PHP] reposting data into forms after confirmation screen

2003-07-07 Thread Artoo
Anyone know where I can view some sample code that does the following? When the user clicks on SUBMIT, they are taken to a confirmation screen which they can click an EDIT button or SUBMIT button. If they click on the EDIT button they are taken back to the first form. How do you repost the data

Re: [PHP] reposting data into forms after confirmation screen

2003-07-07 Thread Matt Matijevich
You could save all of the form data in session variables, when they click edit re-populate the form fields with the session data. Artoo [EMAIL PROTECTED] 07/07/03 04:00PM Anyone know where I can view some sample code that does the following? When the user clicks on SUBMIT, they are taken to a

[PHP] PHP+MySQL on Apache running on WinXP

2003-07-07 Thread Vince
I have set up a new development machine on my windows xp using APACHE version 2.0.46. Next, I set up PHP version 4.3.2 and MySQL version 4.0.13. Then, when I tested the installation, phpinfo() lists my CLIENT API VERSION for MYSQL as 3.23.49. 1. Is this normal? 2. If not, what have I done

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Apollo (Carmel Entertainment)
Well, lets see. I want free advertising too. How about I go to all the lists I am member of and send emails like John from Rekall did announcing widgets or services my company does. How will you react to that? We all have something to sell or advertise. Opensource or non-opensource, if you are

[PHP] I am receiving the same posting TWICE

2003-07-07 Thread Noah Solodky
Help! I am receiving the same posting TWICE how do I configure things to just get one copy of postings?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Mark
If you had actually read the reply, you would have seen that Steve was commenting on your declaring the list an open-source list, not saying it was fine for John to send his email to this list (or any other list). --- Apollo (Carmel Entertainment) [EMAIL PROTECTED] wrote: Well, lets see. I want

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Ryan A
IntrestingI have created 4 products that sell and a few scripts for free (which helped me learn php) plus I co-webmaster for 2 sites that sell scripts, around 40 of them totallycan i advertise for each of them here one by one or do i have to do it by website or all 44 at once?? I know the

[PHP] New to PHP

2003-07-07 Thread Hiren Mehta
Hi I am new to PHP and would like to learn more about it. Which would be the best place to start with besides the manual and what would you suggest is a pre-requiste for learning PHP. Thanks Regards, Hiren

Re: [PHP] Spammer! Re: [PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX....

2003-07-07 Thread Steve Keller
At 7/7/2003 04:09 PM, Apollo (Carmel Entertainment) wrote: Well, lets see. I want free advertising too. How about I go to all the lists I am member of and send emails like John from Rekall did announcing widgets or services my company does. How will you react to that? Your level of reading

[PHP] script not stopping

2003-07-07 Thread Micah Montoy
Anyone see why this will not stop executing the script when any of the conditions are true. thanks if ($_POST[imgList] = ){ die (strongMissing information for uploading./strongbr - The Image List is empty. Please go back and enter in at least one file.); } elseif ($_POST[cat_nameID]

[PHP] Re: script not stopping

2003-07-07 Thread Paul Chvostek
On Mon, Jul 07, 2003 at 03:28:27PM -0600, Micah Montoy wrote: if ($_POST[imgList] = ){ You're *assigning* a variable in this condition. -- Paul Chvostek [EMAIL PROTECTED] it.canadahttp://www.it.ca/

Re: [PHP] PHP+MySQL on Apache running on WinXP

2003-07-07 Thread Ray Hunter
If i am not mistaken your phpinfo is picking up the bundled mysql package that comes with php. You should still be able to connect to mysql. However, if you downloaded the zip file instead of the installer then you should have a php_mysql.dll file that you can put in your path that php should

RE: [PHP] New to PHP

2003-07-07 Thread Joe Harman
Hi Hiren, PHP is a great choice, there are a wealth of tutorials on the Internet!!! I would recommend a great book for people like yourself... PHP Fast and Easy by Julie Meloni... You can visit her website at http://www.thickbook.com I have both of her PHP books, and out of the 8 books on PHP

Re: [PHP] New to PHP

2003-07-07 Thread Ray Hunter
here is what you can do: 1. buy a php book and go throw the basics. 2. read the php manual because it has tons of information. 3. write any type of program that you can to get familiar w/ language. 4. get a fundamental understanding of programming, object oriented programming Just my $0.02 for

Re: [PHP] I am receiving the same posting TWICE

2003-07-07 Thread Ray Hunter
Submit code that we can review. there is not enough info here for you to recieve a complete response to your question. -- BigDog On Mon, 2003-07-07 at 15:11, Noah Solodky wrote: Help! I am receiving the same posting TWICE how do I configure things to just get one copy of postings?? --

Re: [PHP] New to PHP

2003-07-07 Thread Kevin Stone
There are many great books to help get you started. Infact.. believe it or not.. for the complete newbie PHP for Dummies is a great chioce. It's very well written and starts with no assumptions about your skill level. But if you do happen to have some programming experience try PHP and MySQL

Re: [PHP] New to PHP

2003-07-07 Thread Hiren Mehta
Do you suggests any pre-requisites before starting off with the books? Someone told me it would be much better if I learn Linux first Hiren - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Hiren Mehta [EMAIL PROTECTED]; PHP [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:18

Re: [PHP] qry not running??

2003-07-07 Thread Micah Montoy
Well, I redid the code a bit but it is still blowing up with the same error message. I also did the echo bit and it returned Resource id #10. What ever that is. At least I know its returning something. But when I did mssql_row_nums($result), it returned the value 0. I'm not sure if this is

Re: [PHP] PHP/Content Management

2003-07-07 Thread Richard Baskett
Do you realize that link does not work with the Safari browser? it just shows up blank :( Rick When one door closes, another opens; but we often look so long and so regretfully upon the closed door that we do not see the one which has opened for us. - Alexander Graham Bell From: Robert Samuel

Re: [PHP] New to PHP

2003-07-07 Thread Ray Hunter
If you are on developing on linux then that would be good. however, i strongly encourage gaining knowledge of programming concepts if that is what you are doing with php. Having a solid foundation of programming concepts will help you in php and any other language. -- BigDog On Mon,

Re: [PHP] New to PHP

2003-07-07 Thread Micah Montoy
Only if you are planning on using PHP MySQL on Linux. If you are going the windows direction, then you don't need too. good luck Hiren Mehta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Do you suggests any pre-requisites before starting off with the books? Someone told me it

Re: [PHP] New to PHP

2003-07-07 Thread Hiren Mehta
Thnx alot guys You have been of great help :D Regards, Hiren Mehta - Original Message - From: Ray Hunter [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:26 AM Subject: Re: [PHP] New to PHP If you are on developing on linux then that would be good.

[PHP] Re: script not stopping

2003-07-07 Thread Micah Montoy
How do I specify it that I just want to check to see if the form field was blank and if so, inform the user? I know I could do this with JavaScript but I need to be able to do correct conditions. thanks Paul Chvostek [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, Jul 07,

  1   2   >