[PHP] Re: Why use XML?

2003-02-10 Thread Ilya Nemihin
> well Im out of a job so I am sitting around learning XML. It seems like a > great tool, but I am trying to figure out why I would actually use it? If you intersting for my experience: I find xml+xslt useful for offline-site generation tasks, right now I am making site, and there are folders con

[PHP] Regex Help

2003-02-10 Thread Lord Loh.
I am new to regex and broke my head on it the other day...in vain... Can any one tell me a place to get a step by step tutorial on it or help me out on how to work it out ? I am trying to make a link collector. after opening the desired page, I want to get all the hyperlinks on it... Thank You!

Re: [PHP] php-cli

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 14:20, Michael P. Carel wrote: > i've tried that several times but it doesnt work here. here's my test > script > > exec("cls"); > > echo"/ > > **/"; > > ?> > > This does'nt clear the previous lines of MS-DOS. Any

Re: [PHP] php-cli

2003-02-10 Thread Michael P. Carel
i've tried that several times but it doesnt work here. here's my test script This does'nt clear the previous lines of MS-DOS. Any ideas why? > you will want to issue a "cls" command to the shell with the exec > command for using the back ticks... > > That should do it for you... > > example:

[PHP] mac os 9 - file upload problems

2003-02-10 Thread Jimmy Brake
Hi, I have a file upload page that accepts file uploads from pretty much every browser and os EXCEPT any browser on mac os 9. I have no idea why, any of you ever have problems with file uploads on mac os 9? How did you solve the issue. -- Jimmy Brake <[EMAIL PROTECTED]> -- PHP General Mai

Re: [PHP] php-cli

2003-02-10 Thread Ray Hunter
you will want to issue a "cls" command to the shell with the exec command for using the back ticks... That should do it for you... example: exec( "cls" ); That should do it for you... Ray On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote: > Hi to all, > > Is there anyone who could help me

Re: [PHP] Re: Need help storing and displaying html/text!

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 07:03, Shawn McKenzie wrote: > Hmmm... I guess no one is doing this??? Seems fairly common. Patience. You should allow 1 day to give every list subscriber a chance to read your post. > "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 06:34, Sunfire wrote: > i have never used cron/crontab before .. > > and just so i know what should i search for on google...since none of my > searches for anything about cron/crontab come back with anything on the > list archive.. Which list archive did you search? I

[PHP] " and ' giving problems

2003-02-10 Thread Pag
Hi, When a user wants to add a comment on my site and uses either " or ', and when it gets printed out, comes out as /" or /', either to the web page or on a form to alter. The only "treatment" i give it after its submitted on the form is: $comentarioc = str_replace("\r\n", "\n", $comen

Re: [PHP] problem with " and '

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 10:47, Pag wrote: You have started a new thread by taking an existing posting and replying to it while you changed the subject. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a "References:" header that tells all r

[PHP] How to use fopen() with protected directory (i.e .htaccess)

2003-02-10 Thread Daevid Vincent
How can I pass in a user/pw to an fopen() (or something similar)? I am trying to render a dynamic db/php page into a static .html page -- or more specifically, I'm trying to email me back an html version of a report page on remote servers. The reports are located behind an https:// Apache user/pas

RE: [PHP] Re: How do I force a 'timeout' in a loop for that itteration, or conversley how to timeout a 'ping" request?

2003-02-10 Thread Daevid Vincent
On linux it says: -t ttl Set the IP Time to Live for multicasted packets. This flag only applies if the ping destination is a multicast address. > -Original Message- > From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 4:31 PM > To: Dae

RE: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread @ Nilaab
I really really like the idea of using XML/XSLT for creating future CMS Apps. XML is simply a good way to manage and share content between different companies, etc. Those that are not too familiar with XML, should try and read a little bit on the advantages of it. It is the next generation markup l

Re: [PHP] Re: MySQL for storing PHP code

2003-02-10 Thread Tom Rogers
Hi, Tuesday, February 11, 2003, 7:39:16 AM, you wrote: DP> Thanks for the comments everyone! eval() has just made my day :) DP> Cheers, DP> Daniel DP> "Daniel Page" <[EMAIL PROTECTED]> a écrit dans le message de news: DP> [EMAIL PROTECTED] >> Hi, >> >> Would it be possible to store PHP code in

[PHP] php-cli

2003-02-10 Thread Michael P. Carel
Hi to all, Is there anyone who could help me regarding php-cli in windows. What should be the syntax to make the screen clear before echoing something? Is there a good reference in php-cli? Thanks in advance for the replies. mike -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread michael kimsal
Kevin Waterson wrote: Well basically, Smarty is gay. Smarty supposedly will seperate code from content. but you have still need to markup to able to handle loops, conditions etc which puts code right back into the content. But it is Smarty code and not PHP code, where is the value in that? The

Re: [PHP] Class within a class

2003-02-10 Thread Tom Rogers
Hi, Tuesday, February 11, 2003, 5:36:22 AM, you wrote: JM> I have made a Mysql database class. I wanted to know how I could use JM> that class in another class without using extend. For example: JM> include 'db.php'; JM> $db = new db(); JM> ...some php code... JM> class blah { JM> va

[PHP] Printing an image - insights needed!

2003-02-10 Thread Andre Dubuc
Hi, I have a very annoying little problem that someone might have an insight as to its cause. The opening page on my site has two small jpeg pixs (3.9KB) that display properly for any user. I have another page, with exactly the same code, and same jpeg pixs that displays properly as well. ";

Re: [PHP] File upload problem

2003-02-10 Thread Pag
Which sounds like it has to be there to me? I just checked a working file upload form without MAX_FILE_SIZE field, and it worked.. I guess i misunderstood what was on the tutorials ? Or i wonder if this was a must in the earlier versions of PHP? Anyone? I have an upload feature on my a

RE: [PHP] File upload problem

2003-02-10 Thread Dennis Cole
MAX_FILE_SIZE only tells the browser how large the file should be. This is why the PHP manual page also says, "The MAX_FILE_SIZE is advisory to the browser. It is easy to circumvent this maximum. So don't count on it that the browser obeys your wish! The PHP-settings for maximum-size, however, cann

[PHP] problem with " and '

2003-02-10 Thread Pag
Hi, When a user wants to add a comment on my site and uses either " or ', and when it gets printed out, comes out as /" or /', either to the web page or on a form to alter. The only "treatment" i give it after its submited on the form is: $comentarioc = str_replace("\r\n", "\n", $coment

Re: [PHP] File upload problem

2003-02-10 Thread Gurhan Ozen
On Sun, 2003-02-09 at 19:43, Jason Wong wrote: > On Monday 10 February 2003 05:56, Gurhan Ozen wrote: > > > You need to specifye the MAX_FILE_SIZE value as a hidden argument to the > > form.. > > See: http://www.php.net/manual/en/features.file-upload.php > > You don't. > > If you can show other

Re: [PHP] sorting multi-dimensional array where array elements are structs [simple class]

2003-02-10 Thread Michael Sims
On Mon, 10 Feb 2003 16:23:10 -0600, you wrote: >Hi. > >I’m working with a multidimensional array where the data in the >array is a class (struct). All the information is being stored correctly, >but I need to sort each “column” (AA0, BA0, etc. – see below) >by the fieldNo portion of the struc

Re: [PHP] several buttons in form - which one was clicked

2003-02-10 Thread Justin French
Hi, Why do you want a checkbox beside each button? Wouldn't the button alone be enough? I'm assuming it's for something like a delete items list? This is one of many ways to do it... I can't see why you need checkboxes -- perhaps you need to tell us more abut what you want to achieve. "; e

[PHP] Re: Anyone? more info...

2003-02-10 Thread Shawn McKenzie
Thanks Phillip! "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > That is the right answer though... along with the various magic_quotes > flags in the configuration. > > You need to look at your existing settings and then create a simple test >

[PHP] several buttons in form - which one was clicked

2003-02-10 Thread Vahldieck, Mike
Hi there, I'm new to PHP, so maybe this Q makes me look rather stupid... never mind, asking it anyway... I want to have a form with several checkboxes and an OK button next to each of them, to enable users to send data when checkbox has been changed.. I need to pass $i to know, which button has b

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Kevin Waterson
This one time, at band camp, Hardik Doshi <[EMAIL PROTECTED]> wrote: > THe stuff which you are doing with XSLT and XML is > pretty same like Smarty template engine? What is the > advantage of using XML, XSLT than Smarty template > engine? Well basically, Smarty is gay. Smarty supposedly will sep

[PHP] Re: Anyone? more info...

2003-02-10 Thread Philip Hallstrom
That is the right answer though... along with the various magic_quotes flags in the configuration. You need to look at your existing settings and then create a simple test where you type in something such as: x'x"x\x and then spit it out and save it and generally see at what point slashes are bein

[PHP] Re: How can I install PHP 4.2.3 and Apache on WIN98 ?

2003-02-10 Thread Shawn McKenzie
Apache won't be a service on Win98. there should be a batch file to start it, or just start apache.exe from the command line with options. You'll need to do it every you reboot unless you put a batch file in Startup. Once Apache is running, just follow the install instructions for PHP, restart A

[PHP] Anyone? more info...

2003-02-10 Thread Shawn McKenzie
Is more info needed, or was everyone just going post replies like: "see stripslashes() and htmlentities()" *** I have a form and I want the user to be able to enter html in a text area. This will then be stored in an array in a config file. E

[PHP] How can I install PHP 4.2.3 and Apache on WIN98 ?

2003-02-10 Thread rija
I want to run php 4.2.3 on Windows 98 2nd edition using apache server, but after installing apache on it, I've got the following message, No service installed. So how can I install it? Then, I also cannot install php. Any thought? -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Re: $_SESSION['user']['nickname'] = "Herbert"

2003-02-10 Thread Brendon
On Mon, 10 Feb 2003 16:36:58 +0100, Sascha Braun <[EMAIL PROTECTED]> wrote: Hi is something wrong with the above show argument? Under Windows everything works fine under linux it just shows me an 0 or 1, maybe for true or false, dont know. Nothing really, except maybe the missing semicolon.

Re: [PHP] numerics

2003-02-10 Thread Justin French
I guess it might be possible with javascript. At the very least, you can do a validation client-side for numbers only before submitting. Justin. on 11/02/03 5:27 AM, Edward Peloke ([EMAIL PROTECTED]) wrote: > IS there a way to only allow the user to type in numerics to a text field? > I do not

Re: [PHP] Who's Online

2003-02-10 Thread Justin French
Search the archives. This asked, and answered, a few times a week. Justin French on 11/02/03 9:53 AM, Vernon ([EMAIL PROTECTED]) wrote: > I have a membership base that is logging into a php and MySQL based web site > and am wanting to be able to create a who's online (and perhaps an ability >

[PHP] Re: Need help storing and displaying html/text!

2003-02-10 Thread Shawn McKenzie
Hmmm... I guess no one is doing this??? Seems fairly common. Thanks! Shawn "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form and I want the user to be able to enter html in a text area. > This will then be stored in an array in a

[PHP] Help needed for submitting multiple files!

2003-02-10 Thread Geckodeep
I am building a page that submits an article with 9 jpgs images of 45 to 60ko in size. I got it working with no problems for two to three files, until when I tested with all nine images I saw the real problem, that wouldn't uploaded it. When I consulted with my service provider they said they hav

[PHP] Who's Online

2003-02-10 Thread Vernon
I have a membership base that is logging into a php and MySQL based web site and am wanting to be able to create a who's online (and perhaps an ability to contact that person, but that's later) so that that person's profile is available. Anyone have any ideas where I could download a quick script

[PHP] Test

2003-02-10 Thread rija
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: jumping between php and html or using echo for printing html-tags.

2003-02-10 Thread Askengren
Great Thanks a lot! /Håkan "Marek Kilimajer" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Then why not use single quotes, its faster than double quotes, and you > could also use comma instead of full stop (echo can take multiple > parameters, > which is f

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Chris Shiflett
--- Sunfire <[EMAIL PROTECTED]> wrote: > i need to have the date and time of the event checked > so when cron runs if the posted event is on 2003-02-11 > 15:00:00 for example then at 24:00:00 that day cron will > delete that record because it isnt needed anymore Work on creating a script that you

[PHP] Newbie recursive directory

2003-02-10 Thread Kim Kohen
G'day all I've been trying for a day or so to get a script to traverse all the levels of a directory. With help from list archives and web sites I've come up with this: "; } ?> I've read lots f stuff about "if (is_dir($blah)" but I get a bit lost with the navigation after that (I'm _real_ new

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Sunfire
im writing an announcement board and i have a posted timestamp a field for the date and time of the event (needs to be checked with cron) and a event name and message field in the table.. i need to have the date and time of the event checked so when cron runs if the posted event is on 2003-02-11 1

[PHP] sorting multi-dimensional array where array elements are structs [simple class]

2003-02-10 Thread Erin Fry
Hi. I’m working with a multidimensional array where the data in the array is a class (struct). All the information is being stored correctly, but I need to sort each “column” (AA0, BA0, etc. – see below) by the fieldNo portion of the struct. class fieldClass { var $fieldNo; var $srcL

[PHP] Making a location with http authentication

2003-02-10 Thread Lasse Laursen
Hi all, I have the following script that (in theory) would work: http://$PHP_AUTH_USER:$clean@server/member/index.php";; header ("Content-Location: $url"); } ?> So here is the basics: The user authenticates using http auth against a MySQL database - if the username and password is corrent the

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
--- Kevin Waterson <[EMAIL PROTECTED]> wrote: > This one time, at band camp, > Hardik Doshi <[EMAIL PROTECTED]> wrote: > > > I know how to write XSL style sheet along with XML > > document. But i really dont know what contents > should > > be in XML. If XML contains data (and it is true) > then >

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Steve Werby
"Sunfire" <[EMAIL PROTECTED]> wrote: > was wondering about how you could run a script that automatically ran at > midnight every day and deleted records that matched a certain date stored in > a mysql table? any ideas how that supposed to work?.. > > i think the script has to be a chron task on lin

[PHP] Need help storing and displaying html/text!

2003-02-10 Thread Shawn McKenzie
I have a form and I want the user to be able to enter html in a text area. This will then be stored in an array in a config file. Example $htmlstuff[1] = '

[PHP] automatically delete records from a table

2003-02-10 Thread Sunfire
hi.. was wondering about how you could run a script that automatically ran at midnight every day and deleted records that matched a certain date stored in a mysql table? any ideas how that supposed to work?.. i think the script has to be a chron task on linux but im not really sure how to go about

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Kevin Waterson
This one time, at band camp, Hardik Doshi <[EMAIL PROTECTED]> wrote: > I know how to write XSL style sheet along with XML > document. But i really dont know what contents should > be in XML. If XML contains data (and it is true) then > what is the need of MySQL? At last i can say i don't > know a

[PHP] Re: MySQL for storing PHP code

2003-02-10 Thread Daniel Page
Thanks for the comments everyone! eval() has just made my day :) Cheers, Daniel "Daniel Page" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi, > > Would it be possible to store PHP code in a MySQL table, then via a web > page, connect to the DB, recover the code that

Re: [PHP] MySQL for storing PHP code

2003-02-10 Thread Chris Shiflett
--- Daniel Page <[EMAIL PROTECTED]> wrote: > Would it be possible to store PHP code in a MySQL table, > then via a web page, connect to the DB, recover the code > that corresponds to a certain id number, then include > that code for execution? Yes, and since your example demonstrates that you know

Fw: [PHP] MySQL for storing PHP code

2003-02-10 Thread Kevin Stone
Check out eval(); http://www.php.net/manual/en/function.eval.php - Kevin - Original Message - From: "Daniel Page" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 2:21 PM Subject: [PHP] MySQL for storing PHP code > Hi, > > Would it be possible to store PHP cod

[PHP] MySQL for storing PHP code

2003-02-10 Thread Daniel Page
Hi, Would it be possible to store PHP code in a MySQL table, then via a web page, connect to the DB, recover the code that corresponds to a certain id number, then include that code for execution? For example (quick, dirty, and untested!): $sql = "SELECT phpcode FROM phpstorage WHERE codeid = 1"

Re: [PHP] Testing if any of the items are false

2003-02-10 Thread Chris Shiflett
--- [EMAIL PROTECTED] wrote: > How can I do this to determine if one of the items is > false if none are then I what it to print the first > echo of there is one that is false then print the > second echo Sorry, that makes no sense to me. > $test1= "YES"; > $test2= "YES"; > $test3= "YES"; > $test

[PHP] Testing if any of the items are false

2003-02-10 Thread rdkurth
How can I do this to determine if one of the items is false if none are then I what it to print the first echo of there is one that is false then print the second echo $test1= "YES"; $test2= "YES"; $test3= "YES"; $test4= "YES"; $ftest1= "YES"; $ftest2= "NO"; $ftest3= "YES"; $ftest4= "YES"; if ($

[PHP] Re: Session Time

2003-02-10 Thread Bobby Patel
What you could do, is get the current time stamp using time() or date() and create a sesion variable with this value, when they login (and the session is created. Then when they logout, and the sesion is destoyed get the current time stamp again and minus it from the start time. Note: This requir

RE: [PHP] any windows php developers out here?

2003-02-10 Thread John W. Holmes
It's step 2 and 3 on this list that need to get added to the PHP manual. Step 3 can be skipped if you're not running NTFS. ---John Holmes... -Original Message- From: Victor [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 09, 2003 4:20 PM To: 'Victor'; [EMAIL PROTECTED]; [EMAIL PROTECTED

Re: [PHP] Class within a class

2003-02-10 Thread Leif K-Brooks
If the DB object is already a global, like you seem to be saying, then you're already using globals... Justin Mazzi wrote: Is there anyway to do this without using globals? -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 2:46 PM To: Jus

Re: [PHP] Class within a class

2003-02-10 Thread Leif K-Brooks
Use $GLOBALS['db'] (or whatever the variable name of the global variable is). Justin Mazzi wrote: I have made a Mysql database class. I wanted to know how I could use that class in another class without using extend. For example: include 'db.php'; $db = new db(); ...some php code... class bl

[PHP] Class within a class

2003-02-10 Thread Justin Mazzi
I have made a Mysql database class. I wanted to know how I could use that class in another class without using extend. For example: include 'db.php'; $db = new db(); ...some php code... class blah { var $test = 1; function blah() { .. $db->

Re: [PHP] Why use XML?

2003-02-10 Thread Colin Kettenacker
> It seems like a > great tool, but I am trying to figure out why I would actually use it? All > it does is seperate content and data, albeit on the client Not necessarily only on the client, but on the server side as well. > It would just add > another layer of content/data seperation that would

Re: [PHP] Integrating PHP with Perl

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 03:11, Monica Lau wrote: > I have a system that uses Perl scripts to process the HTML forms. It uses > HTTP Basic Authentication to authenticate the users. The problem is that > there is no session tracking and no logout button. I heard that PHP makes > this login/lo

[PHP] Integrating PHP with Perl

2003-02-10 Thread Monica Lau
Hi all, I have a system that uses Perl scripts to process the HTML forms. It uses HTTP Basic Authentication to authenticate the users. The problem is that there is no session tracking and no logout button. I heard that PHP makes this login/logout and session tracking very simple, so I was w

[PHP] Fw: help plz server

2003-02-10 Thread Nate
- Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "Nate" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 5:42 AM Subject: Re: help plz server > please forward this email to `[EMAIL PROTECTED]' > > > -- > Maxim Maletsky > [EMAIL PROTECTED] > >

Re: [PHP] numerics

2003-02-10 Thread Kevin Stone
I'm sorry I misunderstood. As previously stated PHP is server-side only, you need a client-side solution. Search for Javascript validate numeric. - Kevin - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Edward Peloke" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday

Re: [PHP] numerics

2003-02-10 Thread Steve Werby
"Edward Peloke" <[EMAIL PROTECTED]> wrote: > IS there a way to only allow the user to type in numerics to a text field? > I do not want to allow them to even type in anything unless it is a > number. > Basically, I don't want to allow them to enter hi and then I do checks and > give them a warning

Re: [PHP] numerics

2003-02-10 Thread Kevin Stone
Check out: is_numeric() http://www.php.net/manual/en/function.is-numeric.php -Kevin - Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 11:27 AM Subject: [PHP] numerics > IS there a way to only allow the user to type in

Re: [PHP] numerics

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 02:27, Edward Peloke wrote: > IS there a way to only allow the user to type in numerics to a text field? > I do not want to allow them to even type in anything unless it is a number. > Basically, I don't want to allow them to enter hi and then I do checks and > give them

[PHP] numerics

2003-02-10 Thread Edward Peloke
IS there a way to only allow the user to type in numerics to a text field? I do not want to allow them to even type in anything unless it is a number. Basically, I don't want to allow them to enter hi and then I do checks and give them a warning that it isn't a number, I want to force it from the s

[PHP] sockets: resource(20) of type (Unknown)

2003-02-10 Thread Jason k Larson
Hi - I have an problem and I'm not sure how to proceed troubleshooting. I have a socket connection that I'm making to a local stunnel daemon. The connection works and is valid until it seemingly dies and the resource type becomes unknown. at timestamp: 1044900028.6608 my object has this reso

Re: [PHP] a while loop that does't end with the script

2003-02-10 Thread Sunfire
try putting exit; at the end of your script will kill it dead in its tracks - Original Message - From: "Francesco Leonetti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 6:34 AM Subject: [PHP] a while loop that does't end with the script > Hi, > I'm a newco

[PHP] php and postie

2003-02-10 Thread Javier Gloria Medina
hi everyone: i was wondering if its posible to use the program postie, so u can send mails with the fuction mail(). is there anyone that can help me with this. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Graphics for PHP Help!

2003-02-10 Thread D.Starr
PHP programmer needed to assist with development of an ultra-simple XML driven portfolio site. Extensive planning phase already completed. Primary goal is total separation of content from interface. Accomplished digital artist (and student) prefers to offer in exchange services in 3D & 2D animatio

[PHP] I get a "File Download" dialogue box from http://localhost

2003-02-10 Thread nelson
I am trying to configure run PHP4 on Apache on Windows XP. When I type http://localhost/ all I get is a "File Download" dialogue box, instead of the normal Apache server page. Does anyone know whats is going on here? Please tell me if you need any more information. -Nelson

RE: [PHP] I get a "File Download" dialogue box

2003-02-10 Thread Barajas, Arturo
You need to tell Apache that the .php extension is a web page. Take a look at the README or the INSTALL text files, there is the solution. I think it has to be something along the "AddType" lines. -- Un gran saludo/Big regards... Arturo Barajas, IT/Systems PPG MX (SJDR) (427) 271-9918, x448

[PHP] I get a "File Download" dialogue box

2003-02-10 Thread news
I am trying to configure run PHP4 on Apache on Windows XP. When I type http://localhost/ all I get is a "File Download" dialogue box, instead of the normal Apache server page. Does anyone know whats is going on here? Please tell me if you need any more information. -Nelson -- PHP General Ma

Re: [PHP] Vulvan Logic SRM - does anyone use it?

2003-02-10 Thread Tamas Arpad
On Monday 10 February 2003 16:03, Derick Rethans wrote: > On 10 Feb 2003, Tamas Arpad wrote: > > I'm thinking about using SRM application server for storing cached data. > > But I have to convince my customers that it's stable enough and is ready > > to use in production environment. > > Is it cons

Re[2]: [PHP] Delimited file values behaving strangely... SOLVED

2003-02-10 Thread Geoff Caplan
Hi, Of course, I solve it just after I decide to post... For some reason, my customer's spreadsheet data has unusual non-printing characters in some of the fields that weren't showing up in the page source. All I needed to do is strip them out with a regex. Anyway, thanks for the suggestions Ge

[PHP] GoLive dynamic actions anyone?

2003-02-10 Thread Brian Dunning
I have a GoLive dynamic content site, and its pages require than you include at the top a file called mysql.runtime6.php. All is well, except when I try to type in my own SQL actions that are intended to be totally separate from anything the GoLive stuff is doing, I get an error in mysql.runtim

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Guru Geek
When this happens to me I always just echo the variable value like so to see if something is there that shouldn't be: echo ""; echo "$id"; echo ""; obviously all this does is print the variable with a bunch of c's before and after. That way I can see if there are any extra things include

[PHP] Re: Why use XML?

2003-02-10 Thread Lee W
"Christian Calloway" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > well Im out of a job so I am sitting around learning XML. It seems like a > great tool, but I am trying to figure out why I would actually use it? All > it does is seperate content and d

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 00:15, Geoff Caplan wrote: > Hi folks, > > A strange one - unless I am having a brainstorm... > > I am reading in tab delimited files created in Excel on Windows and > uploaded to Linux. > > Cell A1 contains a numeric id - I extract this into a variable, $id, > by explod

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Lowell Allen
> From: Geoff Caplan <[EMAIL PROTECTED]> > > Hi folks, > > A strange one - unless I am having a brainstorm... > > I am reading in tab delimited files created in Excel on Windows and > uploaded to Linux. > > Cell A1 contains a numeric id - I extract this into a variable, $id, > by exploding on \

Re: [PHP] Delimited file values behaving strangely...

2003-02-10 Thread Leif K-Brooks
I'm guessing it containt a trailing space, which wouldn't display in HTML. Try trim()ing it. Geoff Caplan wrote: Hi folks, A strange one - unless I am having a brainstorm... I am reading in tab delimited files created in Excel on Windows and uploaded to Linux. Cell A1 contains a numeric id -

[PHP] Delimited file values behaving strangely...

2003-02-10 Thread Geoff Caplan
Hi folks, A strange one - unless I am having a brainstorm... I am reading in tab delimited files created in Excel on Windows and uploaded to Linux. Cell A1 contains a numeric id - I extract this into a variable, $id, by exploding on \n and \t. But for some files, the values of $id do not behave

RE: [PHP] $_POST index issues

2003-02-10 Thread James G Puckett
This indeed was the problem. Case closed. Thanks for the help. James G Puckett ECG, Inc. > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 10:55 AM > To: James G Puckett > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] $_POST in

Re: [PHP] $_POST index issues

2003-02-10 Thread Ernest E Vogelsinger
At 16:47 10.02.2003, James G Puckett spoke out and said: [snip] > echo "\n"; > $query = "select username, active, password, clec_id from users >where USERNAME=\"$_POST['username_given']\""; [snip] I'm not

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
I think XML and XSLT are the alternative of Smarty template engine. But i dont know how i can sepeatate my code using XML and XSL style sheets? If anyone can give me more information then it would be nice. I know how to write XSL style sheet along with XML document. But i really dont know what co

Re: [PHP] any windows php developers out here?

2003-02-10 Thread Sascha Braun
http://php.e-novative.de/ephp.php Just look at this link, you will find a windows installer there, it installs Apache, PHP, MySQL and phpMyAdmin just from scratch, without you to know what you do ;))) Sascha - Original Message - From: "Victor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP] $_POST index issues

2003-02-10 Thread James G Puckett
I have run into a problem with some of my code surrounding $_POST. Below are excepts: Sending PHP script (login.php) Username Password Receiving script (verify_login.php) foreach ($_POST as $key => $value ) {

[PHP] Why use XML?

2003-02-10 Thread Christian Calloway
Hi, well Im out of a job so I am sitting around learning XML. It seems like a great tool, but I am trying to figure out why I would actually use it? All it does is seperate content and data, albeit on the client, but that is what I have been doing with Smarty and MySQL for awhile now. Why would I

Re: [PHP] Php 4.3

2003-02-10 Thread Francesco Leonetti
edit the php.ini file changing register_globals = On then restart httpd. When register_globals is set to "Off" you cannot access post or get variables in the usual way but you need to address the $_GET, $_POST array (or the general $_REQUEST). More details on the manual... - Original Mess

[PHP] $_SESSION['user']['nickname'] = "Herbert"

2003-02-10 Thread Sascha Braun
Hi is something wrong with the above show argument? Under Windows everything works fine under linux it just shows me an 0 or 1, maybe for true or false, dont know. Please help me, what did i do wrong??? Sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] Session Time

2003-02-10 Thread Stephen Craton
Got a quick and easy question that I'm not sure about. What I need to do is calculate how long someone has been in a chatroom, then update a members table to add some "money" to their account. Something like this: For every hour they're in the chatroom: 5 cents Thanks, Stephen Craton http://www.m

Re: [PHP] Php 4.3

2003-02-10 Thread bbonkosk
Check the archives about global variables in the php.ini file > Hello, > > I am having issues after I upgraded from 4.0.5 to 4.3 > > Alot of my link pages were based in > www.something.com/phptest.php?foo=9323 > > Now that I have upgraded, I get foo errors. > > It says that it no longer gets t

Re: [PHP] Shopping Cart

2003-02-10 Thread Sascha Braun
Shopping Carts are pretty easy to write. Just make a new table in your mysql DB and then write a session_id together with the sku and name, color, size, quantity and maybe customer_id into the the new shoppingcart table. When you want to show the shopping carts content just do an select from the

[PHP] Php 4.3

2003-02-10 Thread Todd Barr
Hello, I am having issues after I upgraded from 4.0.5 to 4.3 Alot of my link pages were based in www.something.com/phptest.php?foo=9323 Now that I have upgraded, I get foo errors. It says that it no longer gets the foo value... how can I fix this? THanks -T

[PHP] Code

2003-02-10 Thread Joe Njeru
Hi, This is the code that creates the file function writeln_to_file($str_txt) /* Definition: This function writes/appends $str_txt to the file Parameters: $str_txt; String; The String to be written to file ReturnType: NONE; */ {

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Sascha Braun
Mh, I don't really know, but I think smarty is even better, because XSL Stylesheets have to be translatet by an extra Server Engine, so everything can be translatet into HTML, so far as I know. So it is not possible to just work with an standard Apache unless you install an extra XML Module or spec

Re: [PHP] PHP Script Encryption!!!!

2003-02-10 Thread Adam Voigt
Just incase you meant encrypt your php scripts and not encrypt with your php scripts, check out: http://www.ioncube.com/ Not free, but very cheap (they have a online encoder that charges by the amount of code, a simple app is less then $5.00). On Mon, 2003-02-10 at 10:04, Jason Sheet

  1   2   >