[PHP] Re: Cache Question

2003-08-17 Thread Josh Whiting
this is off the topic of caching, but is related and could have an impact on the issue: using a .php instead of a .mp3 would seem like a good idea, but this ties into a problem i'm having right now with streaming mp3s using, in my case, the flash player plugin to stream and play the file. it w

Re: [PHP] Cannot output before input

2003-08-17 Thread Curt Zirzow
* Thus wrote Chris Lee ([EMAIL PROTECTED]): > Hi All, > > I run the following program at Windows command prompt > > c:\php\cli\php.exe input.php > > print "Input:"; > flush(); use ob_flush() instead. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mail

[PHP] Cannot output before input

2003-08-17 Thread Chris Lee
Hi All, I run the following program at Windows command prompt c:\php\cli\php.exe input.php The program did not show out "Input:" and waiting for input after run! Any hint to flush the output first? I am using PHP 4.3.2 (cli) (built: May 28 2003 15:10:38) Regards, Chris Lee -- PHP General M

Re: [PHP] Got failed while calling strtotime().

2003-08-17 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > I knew it's incorrect format. But why string from NT is correct? I don't > want to change source codes on website migration. when you say you got ("06 9 2003 12:00AM" in W2K and "Jun 9 2003 12:00AM" in NT) how are you getting that value? >

Re: [PHP] Got failed while calling strtotime().

2003-08-17 Thread Larry_Li
I knew it's incorrect format. But why string from NT is correct? I don't want to change source codes on website migration. ---

Re: [PHP] Got failed while calling strtotime().

2003-08-17 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > I moved website from NT to W2K and got problem of date conversion. I'm > using MS SQL Server. In SQL Server, the data looks like "06/09/03". I got > "06 9 2003 12:00AM" in W2K and "Jun 9 2003 12:00AM" in NT. strtotime() > works ok on NT, but ret

[PHP] Got failed while calling strtotime().

2003-08-17 Thread Larry_Li
I moved website from NT to W2K and got problem of date conversion. I'm using MS SQL Server. In SQL Server, the data looks like "06/09/03". I got "06 9 2003 12:00AM" in W2K and "Jun 9 2003 12:00AM" in NT. strtotime() works ok on NT, but return -1 on W2K. Any ideas? Thanks a lot! Larry -- PHP

Re: [PHP] How do they do that?

2003-08-17 Thread David Otton
On Sun, 17 Aug 2003 23:13:24 -0400, you wrote: >I was wondering. >http://www.php.net/date >gives me/redirects to: >http://www.php.net/manual/en/function.date.php > >How do they do that? >What $_post[??] is that? Or is it a sevrer (Apache, I suppose?) thing? I don't know how php.net does it, but I

[PHP] How do they do that?

2003-08-17 Thread John Taylor-Johnston
I was wondering. http://www.php.net/date gives me/redirects to: http://www.php.net/manual/en/function.date.php How do they do that? What $_post[??] is that? Or is it a sevrer (Apache, I suppose?) thing? -- John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] get current path

2003-08-17 Thread Mike Migurski
>The PHP site seems to be down right now ... so here's the question: Is >it possible for PHP to tell me the current path of a page? For example: >www.whatever.com/this/page.php - I'd like PHP to return /this/page.php >... is that possible and if so, how so? PHP site looks up to me, though I hav

[PHP] comparing xml files, removing some html tags

2003-08-17 Thread Robert Mena
Hi, I need to compare two XML files in order to find if they are "similar", i.e their DOM tree have the same structure. The ideia is to use Xerces to balance HTML files in order to create Xhtml and then compare. To make things a little easier for Xerces I am considering to remove some elements t

[PHP] get current path

2003-08-17 Thread Tim Thorburn
Hi, The PHP site seems to be down right now ... so here's the question: Is it possible for PHP to tell me the current path of a page? For example: www.whatever.com/this/page.php - I'd like PHP to return /this/page.php ... is that possible and if so, how so? TIA -Tim -- PHP General Mailing

RE: [PHP] Category and sub-category logic

2003-08-17 Thread Ralph Guzman
Read this article: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html It explains the 4 different methods that you can use when working with hierarchical data. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 200

Re: [PHP] indexing a folder

2003-08-17 Thread Mike Migurski
>> Thanks, but is this also possible for directories not on my server? Or >> can i just use these functions? > >Missed that bit, sorry. If the directory is not on your server, then you >need to go through FTP. or SSH, or HTTP, or one of the other innumerable ways to get information from one machin

Re: [PHP] "Form Feeds" within a HTML table

2003-08-17 Thread John W. Holmes
Todd Cary wrote: I am creating a "report" that the user can download and it is a HTML table. Is there a way to put Page Breaks within the report so if the user prints it, it will page break a predefined places? Use CSS. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3

Re: [PHP] DATE insertion

2003-08-17 Thread John W. Holmes
Cesar Aracena wrote: Hi all, First of all, thanks to everyone who helped me with the "checkbox" issue. I have an issue here while trying to INSERT INTO a MySQL table a date in a DATE format (-MM-DD). Obviously saying date(Y,m,d) doesn't work. What PHP function should I use? date('Ymd') to put

RE: [PHP] Validate The Last Day of Month with server's clock????

2003-08-17 Thread Ralph Guzman
-Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Validate The Last Day of Month with server's clock Hi! Here's a trick script. We know that some months have the last day which is 30

[PHP] "Form Feeds" within a HTML table

2003-08-17 Thread Todd Cary
I am creating a "report" that the user can download and it is a HTML table.  Is there a way to put Page Breaks within the report so if the user prints it, it will page break a predefined places? Todd. -- <>

Re: [PHP] preg_replace question

2003-08-17 Thread Jean-Christian IMbeault
[EMAIL PROTECTED] wrote: > Then use a simple strstr to first find out if the string does contain > mydomain.com :-) My example was a simple one. I can't just check to see if the string contains the mydomain.com first because I am not passing a string to preg_replace but a whole text file. I want

RE: [PHP] Newbie Question regarding Syntax

2003-08-17 Thread Creative Solutions New Media
Thank you Curt. Works great and your right I makes more sense to do it that way. Tim Winters Manager, Creative Development Sampling Technologies Incorporated (STI) [EMAIL PROTECTED] [EMAIL PROTECTED] W: 902 450 5500 C: 902 430 8498 -Original Message- From: Curt Zirzow [mailto:[EMAIL PRO

[PHP] test - please ignore

2003-08-17 Thread Wouter van Vliet
I'm just testing if this list accepts text attachments .. would be much easier for code exchange and stuff... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Question regarding Syntax

2003-08-17 Thread Curt Zirzow
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]): > Sorry guys.It think there is a bit of confusion. > > I miss typed what I need to do. > > > HREF=mailto:'.$row_rep_RS['repEmail'].'>'.$row_rep_RS['repEmail'].''; ?> You should make sure to quote your html values ( href="va

RE: [PHP] Newbie Question regarding Syntax

2003-08-17 Thread Creative Solutions New Media
Sorry guys.It think there is a bit of confusion. I miss typed what I need to do. $row_rep_RS['repEmail'] is actually the email address I want to turn into a link. So I guess it would look something like. '.$row_rep_RS['repEmail'].''; ?> Whewthink I made a mess of that Is t

Re: [PHP] Newbie Question regarding Syntax

2003-08-17 Thread Curt Zirzow
* Thus wrote Creative Solutions New Media ([EMAIL PROTECTED]): > HREF="mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].''; ?> > > Obviously this isn't working. What is the proper syntax when you have to use > double quotes inside the tag? I usually prefer this method, its a style choice and

RE: [PHP] Newbie Question regarding Syntax

2003-08-17 Thread Cesar Aracena
I would encourage you to use double quotes instead of single quotes inside the PHP code. After this, you must comment HTML double quotes so the PHP engine does not consider these as part of its code. I would type your example like this: mailto:[EMAIL PROTECTED]">".$row_rep_RS['repEmail'].""; ?>

Re: [PHP] Nestled 'while's or 'for's or 'foreach's -- I'm lost

2003-08-17 Thread Curt Zirzow
* Thus wrote Verdon vaillancourt ([EMAIL PROTECTED]): > Hi, somewhat newbie warning :) > > I'm trying to take a paged result set and divide it into two chunks for > displaying on the page. Basically making something that looks like a typical > thumbnail gallery. I'm limiting my result set to 6 rec

[PHP] Newbie Question regarding Syntax

2003-08-17 Thread Creative Solutions New Media
mailto:[EMAIL PROTECTED]">'.$row_rep_RS['repEmail'].''; ?> Obviously this isn't working. What is the proper syntax when you have to use double quotes inside the tag? Thx Tim Winters Manager, Creative Development Sampling Technologies Incorporated (STI) [EMAIL PROTECTED] [EMAIL PROTECTED] W: 902

[PHP] DATE insertion

2003-08-17 Thread Cesar Aracena
Hi all, First of all, thanks to everyone who helped me with the "checkbox" issue. I have an issue here while trying to INSERT INTO a MySQL table a date in a DATE format (-MM-DD). Obviously saying date(Y,m,d) doesn't work. What PHP function should I use? Thanks in advanced, Cesar Aracena www

Re: [PHP] Discussion: do you consider null a value or strictly atype?

2003-08-17 Thread Greg Beaver
Curt Zirzow wrote: This also leads me to believe that the statement: if ($var === null) {} would be considered illegal or fail no matter what since null is not a value and has no type associated with it. Of course, it doesn't fail, because null is a value: Try that. you get "true" null

Re: [PHP] Semi-Newbie question about arrays

2003-08-17 Thread Curt Zirzow
* Thus wrote Gremillion ([EMAIL PROTECTED]): >$recNum = $lastPart; >$ord++; >$updateEntries[$ord] = $recNum; >} >$updateEntries[$ord][] = array($first, $value); > //populate nested array

Re: [PHP] re: shell_exec

2003-08-17 Thread Curt Zirzow
* Thus wrote John ([EMAIL PROTECTED]): > > I know the perl script executes because a basic print statement in the > perl script is outputted to /tmp/error. However anything else in the > script not having to do with output is not executed. The perl script is > basically supposed to add a file. Tha

Re: [PHP] Efficient structure

2003-08-17 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > I have multiple types of information to associate to one object. I have > data structures that store data structures. What is the best/most efficient > way to structure the data? A multi-dimensional array? A container object? > > Please Adv

Re: [PHP] Discussion: do you consider null a value or strictly a type?

2003-08-17 Thread Curt Zirzow
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): > > Now the point of the discussion is not to indicate who is right or who > is wrong -- that would appear to be a ridiculous argument. I am more > interested in finding out the practices and experience of PHP > developers. I'd like to know how man

php-general Digest 17 Aug 2003 21:17:45 -0000 Issue 2242

2003-08-17 Thread php-general-digest-help
php-general Digest 17 Aug 2003 21:17:45 - Issue 2242 Topics (messages 159831 through 159862): first time using exec() - are getting parse error. 159831 by: anders thoresson 159832 by: Chris Hayes 159836 by: John W. Holmes 159838 by: anders thoresson problem w

Re: [PHP] imagecreatefromjpeg() problems

2003-08-17 Thread J-K
Hi Jaap! Thanks for your answer, but I checked phpinfo() and it says: JPG Support Enabled Any ideas? The images are photo-like so png would make them too big. Best regards Jan-Kristian Markiewicz "Jaap Van Ganswijk" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > At 2003-08-16 14:

Re: [PHP] Discussion: do you consider null a value or strictly a type?

2003-08-17 Thread Miles Thompson
At 03:20 PM 8/17/2003 -0400, Robert Cummings wrote: There has been a recent thread on the internals list as to the meaning and usage of the "null" datatype. Zeev claims, perhaps rightly so, the following: Zeev wrote: > > null is not a value, was never meant to be a value, and won't be a > value Int

RE: [PHP] Nestled 'while's or 'for's or 'foreach's -- I'm lost

2003-08-17 Thread Petre Agenbag
OK, Difficult to see from your pseudo code EXACTLY what it is that you want to do, but I'll take a stab anyway... Firstly, instead of using your elaborate ways of running through the result set and extracting the variables, use something like this: $sql = "whatever"; $result = mysql_query($sql);

Re: [PHP] Nestled 'while's or 'for's or 'foreach's -- I'm lost

2003-08-17 Thread David Otton
On Sun, 17 Aug 2003 15:47:04 -0400, you wrote: >I'm trying to take a paged result set and divide it into two chunks for >displaying on the page. Basically making something that looks like a typical >thumbnail gallery. I'm limiting my result set to 6 records and want to >display it as 2 rows of 3 c

[PHP] Nestled 'while's or 'for's or 'foreach's -- I'm lost

2003-08-17 Thread Verdon vaillancourt
Hi, somewhat newbie warning :) I'm trying to take a paged result set and divide it into two chunks for displaying on the page. Basically making something that looks like a typical thumbnail gallery. I'm limiting my result set to 6 records and want to display it as 2 rows of 3 cells with a record i

[PHP] Semi-Newbie question about arrays

2003-08-17 Thread Gremillion
I'm trying to create a multidimensional array of values to update a Filemaker db. Edits to existing fields end in numbers (the record ID).I'm having a problem, probably obvious to anyone here in setting up the multidimensional array: $updateEntries = array(); //stores existing db entries $

[PHP] re: shell_exec

2003-08-17 Thread John
All I want to do is execute a perl script. I do not care about output to browser. I have used shell_exec, system, exec, and backticks with no avail. Here is what i have now in my php page. shell_exec("perl data/addSite.pl" . " &> /tmp/error " ); I know the perl script executes because a basic pri

[PHP] Efficient structure

2003-08-17 Thread [EMAIL PROTECTED]
I have multiple types of information to associate to one object. I have data structures that store data structures. What is the best/most efficient way to structure the data? A multi-dimensional array? A container object? Please Advise... /T

[PHP] Discussion: do you consider null a value or strictly a type?

2003-08-17 Thread Robert Cummings
There has been a recent thread on the internals list as to the meaning and usage of the "null" datatype. Zeev claims, perhaps rightly so, the following: Zeev wrote: > > null is not a value, was never meant to be a value, and won't be a > value Interestingly though, the PHP documentation at h

Re: [PHP] Parsing HTTP_USER_AGENT

2003-08-17 Thread hAj
Greetinx, on 2003.08.17 07:29, AzN at [EMAIL PROTECTED] wrote: > http://www.danasoft.com/vipersig.jpg > Says "I know kung fu.", haha. Strikes me that I'm mistakenly located somewhere in China instead of Japan. ;P hAj ||| ||| || || || || Seij minu

[PHP] Re: mystical parse error message

2003-08-17 Thread Greg Beaver
Hi Ohmer, T_PAAMAYIM_NEKUDOTAYIM is the incomprehensible name given to the :: operator. However, if you use the tokenizer extension like so: '; $b = token_get_all($a); echo(token_name($b[3][0])); ?> You'll see T_DOUBLE_COLON - a much more descriptive name :). So, look for an accidental double

[PHP] mystical parse error message

2003-08-17 Thread oHmEr
does someone know wtf this message means ? Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM i hope my fbsd box isnt haunted or controled by a daemon... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Chris->Re: [PHP] Category and sub-category logic

2003-08-17 Thread Ryan A
Hey, Sorry I didnt reply, was having some computer problems. Thanks for the link and the advise, will look into it. Cheers, -Ryan We will slaughter you all! - The Iraqi (Dis)information ministers site http://MrSahaf.com - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> T

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-17 Thread Nicholas Robinson
And the reason I quoted 'usual' is that my suggestion is more portable. On Thursday 14 Aug 2003 11:54 am, Ford, Mike [LSS] wrote: > On 13 August 2003 20:05, Nicholas Robinson wrote: > > On Wednesday 13 Aug 2003 8:00 pm, Scott Fletcher wrote: > > > Hi! > > > > > > Here's a trick script. We kno

Re: [PHP] indexing a folder

2003-08-17 Thread John W. Holmes
Cadish wrote: Thanks, but is this also possible for directories not on my server? Or can i just use these functions? Missed that bit, sorry. If the directory is not on your server, then you need to go through FTP. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP

[PHP] Parsing HTTP_USER_AGENT

2003-08-17 Thread AzN
Hello: What I'm trying to do is parse the HTTP_USER_AGENT into formatted text. Here's an example: PHP gets user's browser and OS through with HTTP_USER_AGENT. The output should only say: You are running on Windows XP and using IE6! How would I parse this. One example would be fine. I kno

RE: [PHP] mod_php issues with security or stablility?

2003-08-17 Thread Wouter van Vliet
It's mostly just a wild guess .. but when I think about linking php.cgi/mod_php question to Peda's one about sessions, and later being unable to use php_value in a .htaccess file.. Is it likely that Peda's server runs php.cgi instead of mod_php? can somebody confirm this? Wouter -Oorspronkel

Re: [PHP] mod_php issues with security or stablility?

2003-08-17 Thread Gerard Samuel
Jason Sheets wrote: On cavaeat is with CGI PHP can execute as the owner of the script, with mod_php it executes as the web server. IMHO, the biggest difference between the two as far as security is concerned in favour for CGI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] mod_php issues with security or stablility?

2003-08-17 Thread Jason Sheets
mod_php is the recommended installation for Apache. Thousands of people use mod_php with Apache. When I switched to mod_php from CGI I saw a significant performance increase, also you can not use things like Turck MMCache in CGI mode. In short not that I'm aware of, you might google for it

Re: [PHP] indexing a folder

2003-08-17 Thread Cadish
Thanks, but is this also possible for directories not on my server? Or can i just use these functions? "John W. Holmes" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Cadish wrote: > > > How can i index a folder that's not on my server? > > > > With indexing, i mean getting a list

Re: [PHP] How to connect to DB

2003-08-17 Thread Miles Thompson
Take out the "@" so you can see what error is returned. Echo your defines to confirm that you are getting what you expect. Double check that you have the browser set to refresh on every call to a page. Clear your cache. Use the header() function to add code at the top of the page to force a re

RE: [PHP] Sessions

2003-08-17 Thread Wouter van Vliet
well .. that's odd. I use the same directive multiple times without any problems. The error tells that it thinks the php module which should provide this directive is not available. Odd thing is that you can run PHP scripts, so the PHP module is loaded .. so to speak. Somebody got a clue on this o

Re: [PHP] substr ?

2003-08-17 Thread John W. Holmes
John Taylor-Johnston wrote: Sorry, scrap that: if (substr_count($mystring,"¶") >0) John Taylor-Johnston wrote: How can I find out if $mystring includes the character "¶"? Thought substr would do it? J strpos() would be better... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/

Re: [PHP] Sessions

2003-08-17 Thread John W. Holmes
Peda wrote: Thank you all for your help. I solved the problem using session_save_path("/some/dir/") in php script. Just one thing to note: If you set the session save_path in your file using this method or ini_set, then there will not be any automatic garbage collection. You'll have to do that

Re: [PHP] first time using exec() - are getting parse error.

2003-08-17 Thread anders thoresson
What is the error you get? Problem solved: it was a combination of permissions and wrong options. -- anders thoresson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] indexing a folder

2003-08-17 Thread John W. Holmes
Cadish wrote: How can i index a folder that's not on my server? With indexing, i mean getting a list of all files in that folder... http://us2.php.net/manual/en/ref.dir.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professio

Re: [PHP] first time using exec() - are getting parse error.

2003-08-17 Thread John W. Holmes
anders thoresson wrote: Hi, I'm trying to call mysqldump from within a php-script, like this: $backuptime = date("ymdHi"); $backupfile = "un" . $backuptime . ".txt"; exec("mysqldump --opt -u$dbuser -p$dbpassword $dbdatabase $alltables > /web/un/backup/$backupfile"); It works fine on my local

[PHP] Any IMAP portal system

2003-08-17 Thread Dasmeet
Hi! Is there any PHP Portal system (scripts) that have IMAP/SMTP, calendar, notebook and other utilities build in to it alongwith other general portal utilities? Any information would be of great help. Thanks Dasmeet -- Domainwala.com Domain Names from $7.99 at http://www.domainwala.com -- PHP

[PHP] mod_php issues with security or stablility?

2003-08-17 Thread Lane Vance
Hello, I work for a large web hosting company and we currently use php.cgi. We are considering changing to use mod_php. Is anyone aware of any security issues with using mod_php? Are there any stability issues? Theoretically, could a customer write php code that could crash Apache? Any other pros

[PHP] problem with sessions - IE working after session.use_trans_sid enabled.

2003-08-17 Thread anders thoresson
Hi, I've had some problems with Internet Explorer not working on the site I'm building at the moment. At my local system it worked, but not on my ISP. After comparing the session settings, only use_trans_sid differed: enabled at my local system, disabled at remote. Before I changed anything IE

Re: [PHP] first time using exec() - are getting parse error.

2003-08-17 Thread Chris Hayes
At 12:06 17-8-2003, you wrote: Hi, I'm trying to call mysqldump from within a php-script, like this: $backuptime = date("ymdHi"); $backupfile = "un" . $backuptime . ".txt"; exec("mysqldump --opt -u$dbuser -p$dbpassword $dbdatabase $alltables > /web/un/backup/$backupfile"); It works fine on my lo

[PHP] first time using exec() - are getting parse error.

2003-08-17 Thread anders thoresson
Hi, I'm trying to call mysqldump from within a php-script, like this: $backuptime = date("ymdHi"); $backupfile = "un" . $backuptime . ".txt"; exec("mysqldump --opt -u$dbuser -p$dbpassword $dbdatabase $alltables > /web/un/backup/$backupfile"); It works fine on my local Win2k, php 4.3.1, but not

php-general Digest 17 Aug 2003 09:15:18 -0000 Issue 2241

2003-08-17 Thread php-general-digest-help
php-general Digest 17 Aug 2003 09:15:18 - Issue 2241 Topics (messages 159805 through 159830): Re: redhat 8: upgrade php from 4.2.2 to 4.3.2 159805 by: Jaap van Ganswijk Sessions 159806 by: Peda 159807 by: Jaap van Ganswijk 159809 by: Curt Zirzow 15981

[PHP] indexing a folder

2003-08-17 Thread Cadish
Hi, How can i index a folder that's not on my server? With indexing, i mean getting a list of all files in that folder... Thx a lot Cadish -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [php] explode that :) !

2003-08-17 Thread Tom Rogers
Hi, Sunday, August 17, 2003, 12:58:23 PM, you wrote: JTJ> $P1OC1Q1 = "1¶some text or some comment"; JTJ> echo "Your score is: "; $score=split($P1OC1Q1,"¶"); echo $score[0]."\n"; JTJ> Do I have to go through all that to get score[0] ? JTJ> John if the number is always first and an integer: e

Re: [PHP] Sessions

2003-08-17 Thread Peda
Thank you all for your help. I solved the problem using session_save_path("/some/dir/") in php script. But now I have another question. Every time when I'm using .htaccess file and try to connect to my site I get this message: Internal Server Error The server encountered an internal error or mis

Re: [PHP] Sessions

2003-08-17 Thread Peda
Thank you all for your help. I solved the problem using session_save_path("/some/dir/") in php script. But now I have another question. Every time when I'm using .htaccess file and try to connect to my site I get this message: Internal Server Error The server encountered an internal error or mis