RE: [PHP] can't restart session

2003-07-22 Thread Adrian Portsmouth
Chris, As I said, you are not calling your session user_info, the only way to name a session is to use session_name() BEFORE session_start() if you are not using a session_name call then change your setcookie call to the following and this should kill it for you: setcookie(session_name(),"","","/

Re: [PHP] Re: Help?

2003-07-22 Thread Ivo Fokkema
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Ivo Fokkema ([EMAIL PROTECTED]): > > I want to warn you though, PHP depricates the use of register_globals = On, > > so it would be recommendable to use your modified script and keep coding > > using $_POST, $_

Re: [PHP] Array cookie

2003-07-22 Thread Curt Zirzow
* Thus wrote Shantanu Oak ([EMAIL PROTECTED]): > Hi, > I have written a feed reader for my personal use. The > php code given below does work. But it works only with > a single feed. How can I save multiple cookies > (array?) and display a few more RSS feeds. The example > page can be found at...

Re: [PHP] Array cookie

2003-07-22 Thread Jacob Vennervald Madsen
You could serialize your an array and save it in the cookie, but I would also recommend using a session and then save the serialized array in this instead. Jacob Vennervald On Tue, 2003-07-22 at 09:36, Curt Zirzow wrote: > * Thus wrote Shantanu Oak ([EMAIL PROTECTED]): > > Hi, > > I have written

Re: [PHP] Re: need help with MySQL full text searching!!!!

2003-07-22 Thread Angelo Zanetti
Hi James so what you are saying is that if I am not running mysql 4.0.10-gamma then the full text search wont work. Strange because if I run the full text search on both full text indexed fields I get the correct resultset, however I only want to do a full text search on a column at a time, let me

[PHP] Warnings when trying to write to file

2003-07-22 Thread Dore van Hoorn
Hi, I get this warning when trying to write to a .txt file. Strange enough, I don't get this error when trying to do the same this on my local server. Can anybody help me with this?! Warning: fopen(respons.txt) [function.fopen]: failed to create stream: Permission denied in /usr/local/slash/apac

Re: [PHP] Warnings when trying to write to file

2003-07-22 Thread Curt Zirzow
Please Start a new email when starting a new topic. * Thus wrote Dore van Hoorn ([EMAIL PROTECTED]): > > Warning: fopen(respons.txt) [function.fopen]: failed to create stream: Permission > denied in /usr/local/slash/apache/vhosts/goldore.nl/httpdocs/enquete/bekijken.php > on line 206 > My bet

[PHP] Re: Warnings when trying to write to file

2003-07-22 Thread Ivo Fokkema
My guess would be you don't have any write permission. Your first error is a permission denied using fopen(). The rest of your errors is caused by using the invalid filepointer '$file'. So check if you have any write permission! I don't have any on my commercial hosting either, but I do on my local

Re: [PHP] controlling winamp with COM

2003-07-22 Thread Jon Haworth
Hi, > It might even be possible that Winamp itself provides > hooks to a running instance of itself via command line > parameters (one can hope) which would simplify the > task greatly. Winamp (v2 at any rate, I haven't worked with v3) has a great API, including hooks via the command line, which

Re: [PHP] Array cookie

2003-07-22 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): > * Thus wrote Shantanu Oak ([EMAIL PROTECTED]): > > Hi, > > I have written a feed reader for my personal use. The > > php code given below does work. But it works only with > > a single feed. How can I save multiple cookies > > (array?) and display a

Re: [PHP] Re: need help with MySQL full text searching!!!!

2003-07-22 Thread Jason Wong
On Tuesday 22 July 2003 15:46, Angelo Zanetti wrote: > Hi James so what you are saying is that if I am not running mysql > 4.0.10-gamma then the full text search wont work. > > Strange because if I run the full text search on both full text indexed > fields I get the correct resultset, however I on

[PHP] php with GD library in Netscape Iplanet 4.x Web server(Sparc Solaris 2.8)

2003-07-22 Thread Raul Morales Salcedo
(BHi all, (B (BI am getting in troubles trying to install the GD library under solaris (Bmachine (B (BI already installed php in my solaris machine using solaris 2.8 and (BIplanet 4.7, there is no problem to deal with, (B (Bthe problem is that now I need the GD library, (B (Bwhat I did

Re: [PHP] feof() problem

2003-07-22 Thread Jason Wong
On Tuesday 22 July 2003 14:44, chandrakant Reddy wrote: [snip] > The output that I am getting : > > > File is valid, and was successfully uploaded. Here's > some more debugging info: > Array > ( > [userfile] => Array > ( > [name] => filename.txt > [type] => te

Re: [PHP] Enough is Enough.......

2003-07-22 Thread Marek Kilimajer
I used to have the same problem. It seems it's not safe to include a file you have just writen. Beauford.2005 wrote: Done. You must have read my mind. I just finished putting the whole thing in MySQL - since I am using it anyway to hold all my other data it was easy to do. Took me about 45 minute

RE: [PHP] help with ad serving

2003-07-22 Thread electroteque
why reply if you didnt understand ? ok more specifically has anyone served ads with flash which also has an alternative image banner served if ppl dont have the plugin ? -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 6:39 AM To: Php-General Subj

Re: [PHP] Problem with Adding info into an array

2003-07-22 Thread Marek Kilimajer
Phillip Blancher wrote: if($array[0]=="") { $array[0]="0"; } else { } if($array[1]=="") { $array[1]="0"; } else { } if($array[2]=="") { $array[2]="0"; } else { } if($array[3]=="") { $array[3]="0"; } else { } if($array[4]=="") { $array[4]="0"; } else { } if($array[5]=="") { $array[5]="0"; } else

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-22 Thread Joel Rees
> if you do sniff the hash, the key, and the session. You will have to > get your request in before the key becomes stale, race, race! > In most cases the authentication is the > first thing done so we're dealing with micro seconds. Most cases? Why re-invent the wheel? -- Joel Rees, progra

[PHP] Apache 2.x and PHP

2003-07-22 Thread Miguel Angelo
Hi All, Can anyone aswer this simple question, that i still have not found it anywhere... Is PHP capable of running on Apache 2.x and if so what version ? And is it stable ? Thankxs for any reply Miguel Angelo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] CLI php: how to use different php.ini file

2003-07-22 Thread Jean-Christian IMbeault
I am running some cronjob scripts that are written in PHP. However things are not working as expected because my php.ini file auto-prepends a file. This auto-prepending is meant for my PHP web pages and I don't want it loaded when I run PHP from the command line. Is there a way from me to eithe

Re: [PHP] CLI php: how to use different php.ini file

2003-07-22 Thread Jacob Vennervald Madsen
php -c Jacob Vennervald On Tue, 2003-07-22 at 12:52, Jean-Christian IMbeault wrote: > I am running some cronjob scripts that are written in PHP. However > things are not working as expected because my php.ini file auto-prepends > a file. This auto-prepending is meant for my PHP web pages and I

[PHP] Re: Apache 2.x and PHP

2003-07-22 Thread Jean-Christian IMbeault
Miguel Angelo wrote: (B> (B> Is PHP capable of running on Apache 2.x and if so what version ? (B> And is it stable ? (B (B (BPHP will run on Apache 2 but ... (B (B#1 Apache 2 is multi-threaded whereas PHP is not. You need to turn (BApache 2's multi-threading off. (B (B#2 Turning Apache 2

Re: [PHP] CLI php: how to use different php.ini file

2003-07-22 Thread Jean-Christian IMbeault
Jacob Vennervald Madsen wrote: (B> (B> php -c (B (BThanks! (B (BI hate to say it but this was actually in the manual :( I just didn't (Bknow where to look ... (B (Bhttp://php.net/manual/en/features.commandline.php (B (BJean-Christian Imbeault (B (B (B-- (BPHP General Mailing List (

[PHP] Re: Apache 2.x and PHP

2003-07-22 Thread Ivo Fokkema
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Miguel Angelo wrote: > > > > Is PHP capable of running on Apache 2.x and if so what version ? > > And is it stable ? > PHP will run on Apache 2 but ... > > #1 Apache 2 is multi-threaded whereas PHP is not. You n

[PHP] Re: Apache 2.x and PHP

2003-07-22 Thread Jean-Christian IMbeault
Ivo Fokkema wrote: (B> (B> May I add this little note from the PHP installation txt file : (B> (B> (B> ATTENTION: Apache 2 Users (B> (B>At this time, support for Apache 2 is experimental. It's (B>highly recommended y

Re: [PHP] controlling winamp with COM

2003-07-22 Thread John Manko
I would think that a Java applet would be your best bet. You can have real-time updates instead of page reloads. However, you will need to write a server to handle the specific requests for the applet. That can be done in Java, C/C++, or even Perl. I would prefer Perl because of it's string

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-22 Thread John Manko
This is what I decided to do. So the pages that need to be secured, I send the the SID as a GET QUERY variable. I don't like it, but it's the only thing I seems right. Joel Rees wrote: if you do sniff the hash, the key, and the session. You will have to get your request in before the key beco

Re: [PHP] need help with MySQL full text searching!!!!

2003-07-22 Thread Andrei BEJENARU
> I think you need to make a second index that just consists of the one column > > ALTER TABLE biblio ADD FULLTEXT (title) > > if you want to search on just that one column. > > ---John Holmes... Exactly! If you want to do a fultext search on a single column you must have a fulltext index on that

[PHP] access SSH using PHP

2003-07-22 Thread Bang Dodi
Does somebody know how to access SSH (port 22) using PHP ? (B (BThanks. (B (B (B__ (BMau ringtones yang gaya ? --> http://www.ponselgaya.com (B (B-- (BPHP General Mailing List (http://www.php.net/) (BTo unsubscribe, visit: http:

[PHP] How to execute a bat file on the Apache server

2003-07-22 Thread Mikael
Hello all, I am trying to execute a bat file, and its not working. I manage to get the CMD in the "win task list" however its not executing the bat file, and its not closing it self...?? What I need it for is to execute a modem to send a SMS. I got that working but the php stuff is not really my bu

Re: [PHP] How to execute a bat file on the Apache server

2003-07-22 Thread Petre Agenbag
Well, firstly, you should not have to use the double \\ when using the single quotes, try it without and see if it works... ie, exec('c:\WINNT\system32\cmd.exe /c START c:\test.bat > c:\xxx.txt'); > ?> On Mon, 2003-07-21 at 16:34, Mikael wrote: > Hello all, I am trying to execute a bat file, a

Re: [PHP] How to execute a bat file on the Apache server

2003-07-22 Thread desa15
Use algo.bat REM Output from a batch file Dir C:\ sleep 10 or Check if the safe_mode is on, and turn to off Un saludo, Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_connect, client flags, php < 4.3, oh my!

2003-07-22 Thread John Manko
mysql_connect() added support for client flags in 4.3+ I'm wondering if there is another method to supply these flags for any php < 4.3? thanks, john -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie lost in array

2003-07-22 Thread Tony Crockford
I've got brain fade today and am in need of a clue, please accept apologies if this is obvious. I have a data table: P_ref P_code P_Value I want to read the data out where P_ref='somevalue' and create variables for the content of P_Code with a value of P_Value what should I be looking for in t

[PHP] Shell_exec() [ or what else? ] to kill root-started FTP daemon

2003-07-22 Thread Pietuka Krustiņš
Hello. I am trying to restart my FTP daemon by killing it and then starting it using the shell_exec() function: shell_exec('kill '.$pid ); Shell_exec does nothing by this - when i do ps -ef later, i see the daemon with the same pid still running. But it did return the correct pid when i ran:

[PHP] Re: Shell_exec() [ or what else? ] to kill root-started FTP daemon

2003-07-22 Thread Pete Morganic
check out the linux "sudo" command pete R evėŹĘår{óv ņń wrote: Hello. I am trying to restart my FTP daemon by killing it and then starting it using the shell_exec() function: shell_exec('kill '.$pid ); Shell_exec does nothing by this - when i do ps -ef later, i see the daemon with the same p

Re: [PHP] Shell_exec() [ or what else? ] to kill root-started FTPdaemon

2003-07-22 Thread Marek Kilimajer
Try sudo (man sudo) Pietuka Krustiņš wrote: Hello. I am trying to restart my FTP daemon by killing it and then starting it using the shell_exec() function: shell_exec('kill '.$pid ); Shell_exec does nothing by this - when i do ps -ef later, i see the daemon with the same pid still running. Bu

Re: [PHP] Newbie lost in array

2003-07-22 Thread Marek Kilimajer
$res=mysql_query("SELECT P_Code, P_Value FROM table WHERE P_ref='somevalue'"); while(list($code, $value)=mysql_fetch_row($res)) { // now I'm not sure if you want $$code=$value; // or you want $array[$code]=$value; } Tony Crockford wrote: I've got brain fade today and am in need of a clue, pl

[PHP] PHP-mySQL-opensource-shop - solution

2003-07-22 Thread Alexander
Hi to all, I'm looking for a PHP-mySQL-opensource-shop - solution. Any suggestions or experiencies that could be usefull. Wich TIA Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP-mySQL-opensource-shop - solution

2003-07-22 Thread Marek Kilimajer
http://www.oscommerce.com/ Alexander wrote: Hi to all, I'm looking for a PHP-mySQL-opensource-shop - solution. Any suggestions or experiencies that could be usefull. Wich TIA Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newbie lost in array

2003-07-22 Thread sven
hi tony, how is your table structured? is is a csv-file, a database, a html-table, ...? ciao SVEN Tony Crockford wrote: > I've got brain fade today and am in need of a clue, please accept > apologies if this is obvious. > > I have a data table: > > P_ref P_code P_Value > > I want to read the dat

RE: [PHP] Re: Newbie lost in array

2003-07-22 Thread Tony Crockford
> hi tony, > how is your table structured? is is a csv-file, a database, a > html-table, > ...? > ciao SVEN Ooops! MySQL sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] £ outputting £ signs

2003-07-22 Thread bob pilly
Hello all Can someone tell me where i am going wrong here. I am trying to echo a '£' to the screen which has come from a database field. I get the field by: $notes=%row["notes"]; and the feild contains the data £25000, however when i echo this to the screen i get £25000. I have tried htmle

Re: [PHP] Re: Newbie lost in array

2003-07-22 Thread sven
then try: $query = 'select * from `yourTable` where `P_ref`="somevalue"'; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)) { $rows[] = $row; } var_export($rows); hth SVEN Tony Crockford wrote: >> hi tony, >> how is your table structured? is is a csv-file, a database,

Re: [PHP] IE Issues

2003-07-22 Thread Steve Magruder
Curt Zirzow wrote: > Dont use the font tag.. they are evil... and besides depricated. And they're deprecated too. :) Steve -- Steve Magruder Consulting - http://consulting.stevemagruder.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] Re: £ outputting £ signs

2003-07-22 Thread David Goodchild
My suggesstion would be as your adding the data to the database convert the £ to £ Thats should solve the problem however not provide an explaination for what is occuring here. Dave "Bob pilly" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all > > Can someone tell me where

Re: [PHP] IE Issues

2003-07-22 Thread Pete Morganic
Why is the font tag evil and depreciated ??? confused pete Steve Magruder wrote: Curt Zirzow wrote: Dont use the font tag.. they are evil... and besides depricated. And they're deprecated too. :) Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] Filter

2003-07-22 Thread Memelink Michael (Praktikant)
Wie ist es möglich, nach mehreren Sachen zugleich zu Suchen z.B.: Nachname,email,standort,... Aber ich möchte nicht jeweils einzelne Antworten bekommen sondern wenn ich eingebe... name: Memelink email:[EMAIL PROTECTED] standort:egger ...möchte ich auch nur einen User angezeigt bekommen und zw

RE: [PHP] IE Issues

2003-07-22 Thread Nelson Rodriguez-Pena
Hi Pete, >> Why is the font tag evil and depreciated ??? >> confused pete Because it is a presentational element and HTML is headed to structural content instead of visual formating. Structure is for HTML, presentation is for CSS. regards, ---

RE: [PHP] IE Issues

2003-07-22 Thread Jay Blanchard
[snip] Why is the font tag evil and depreciated ??? [/snip] This topic is better suited to an HTML or web-dev list, but the bottom line here is that CSS has been put into use as further effort to seperate design from content. The CSS recommedation being in place deprecates a lot of the old in-line

Re: [PHP] IE Issues

2003-07-22 Thread Pete Morganic
so which tag should i use .. ??? tia pete Nelson rodriguez-Pena wrote: Hi Pete, Why is the font tag evil and depreciated ??? confused pete Because it is a presentational element and HTML is headed to structural content instead of visual formating. Structure is for HTML, presentation is for CS

Re: [PHP] £ outputting £ signs

2003-07-22 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 15:01, lines prefixed by '>' were originally written by you. > My suggesstion would be as your adding the data to the database > convert the > £ to £ I wouldn't do that, it will eman extra CPU cycles if at a later date you

RE: [PHP] XX outputting X signs

2003-07-22 Thread George Pitcher
Would it not make sese to store the number as a decimal and have the '£' added at output? George, in Oxford, where £££=pints > -Original Message- > From: David Nicholson [mailto:[EMAIL PROTECTED] > Sent: 22 July 2003 3:51 pm > To: David Goodchild > Cc: [EMAIL PROTECTED] > Subject: Re: [PH

[PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
Hi, Trying to accomplish: I want to sort my array by two columns. The array is setup: Array ( [0] => Array ( [0] => CHECKING [ba_type] => CHECKING [1] => 10132200 [loan_number] => 10132200 [2

Re: [PHP] XX outputting X signs

2003-07-22 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 16:01, lines prefixed by '>' were originally written by you. > Would it not make sese to store the number as a decimal and have the > '£' > added at output? I had assumed that the original poster was storing currency ammoun

Re: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Marek Kilimajer
Your array seems like a result of mysql_fetch_array(), cannot you order it in the sql query? Dan Joseph wrote: Array ( [0] => Array ( [0] => CHECKING [ba_type] => CHECKING [1] => 10132200 [loan_number] => 10132200 Keep e

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
Hi, Yeah, I did get it from a mysql_fetch_array(). I have: ORDER BY payment_methods.ba_type ASC, loan_info.loan_number ASC However, what it does is first orders it by ba_type, then it goes through and re-orders it be loan_number, n

[PHP] Zend Studio - HTTP_POST_FILES

2003-07-22 Thread Joshua Groboski
I know this is a little off topic, but I'm hoping to find someone who uses Zend Studio who can point me in the right direction. I have just got a copy and I'm trying to run the debugger. The only problem is at the beginning of the script I am checking for a file upload. I cannot figure out how t

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Ford, Mike [LSS]
> -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: 22 July 2003 16:29 > > Yeah, I did get it from a mysql_fetch_array(). I have: > > ORDER BY > payment_methods.ba_type ASC, > loan_info.loan_number ASC > > H

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
Eek... Yes, I did past it wrong... SELECT payment_methods.ba_type, loan_info.loan_number, loan_info.id AS loan_id, cust_info.first_name, cust_info.last_name, transactions.approved_date, payment_types.type FROM loan_info, cust_info, transactions, payment_methods, payment_types WHERE payment_method

Re: [PHP] Get previous folder

2003-07-22 Thread Groboski, Joshua
You could also explode() on "/" and have all your directories in an array. Joshua Groboski SAVVIS Communications http://www.savvis.net "David Nicholson" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... Hello, This is a reply to an e-mail that you wrote on Thu, 10 Jul 2003 at 13

[PHP] mail()

2003-07-22 Thread Javier
Hi, I need to send a reminder to all the users in my website. To minimize bandwidth I would like to send just an email to a domain and then all the remaining users in the BCC. What would be the $to field in mail() since I send all the destinations in $headers? Thanks. -- *** s2r - public key

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-22 Thread Curt Zirzow
* Thus wrote Joel Rees ([EMAIL PROTECTED]): > > if you do sniff the hash, the key, and the session. You will have > > to get your request in before the key becomes stale, > > race, race! > > > In most cases the authentication is the first thing done so we're > > dealing with micro seconds. > >

[PHP] php weirdness

2003-07-22 Thread Javier
Hi, I'm running PHP 4.3.2 (cgi-fcgi) (win32). Everytime I run a script from the command line: php -q myscript.php The processor jumps to 100%, on the task manager I see that SERVICES in consuming 50% and PHP.exe the rest. I don't know why this happens, the script connects to a sql server I does

[PHP] Re: mail()

2003-07-22 Thread Joshua Groboski
Why don't you send it to [EMAIL PROTECTED] I think as long as the $to address doesn't fail, you'll be alright. Josh "Javier" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I need to send a reminder to all the users in my website. > To minimize bandwidth I would like to send ju

Re: [PHP] help with ad serving

2003-07-22 Thread Curt Zirzow
* Thus wrote electroteque ([EMAIL PROTECTED]): > why reply if you didnt understand ? ok more specifically has anyone served > ads with flash which also has an alternative image banner served if ppl dont > have the plugin ? Your whole email was one long sentence, and was very difficult to understan

[PHP] references

2003-07-22 Thread Carl Furst
Ok lets see I have the following two functions one calls the other Function a (&$myref) { ..something... then calls function b b($myref); } function b (&$myref) { something } a($myref); is the reference by passing in function b legal??? Carl Furst Chief Technical Officer Vote.com 50 Wa

Re: [PHP] IE Issues

2003-07-22 Thread Curt Zirzow
* Thus wrote Steve Magruder ([EMAIL PROTECTED]): > Curt Zirzow wrote: > > Dont use the font tag.. they are evil... and besides depricated. > > And they're deprecated too. :) I installed my spellchecker after this email :) Thanks, Curt -- "I used to think I was indecisive, but now I'm not so s

Re: [PHP] mail()

2003-07-22 Thread Chris Shiflett
--- Javier <[EMAIL PROTECTED]> wrote: > I would like to send just an email to a domain and then all the > remaining users in the BCC. I'm not sure if that was a typo or not, but just in case, you want to send email to an email address, not a domain. > What would be the $to field in mail() since I

[PHP] The session finishes unexpectedly

2003-07-22 Thread Tomás Liendo
Hi people, I made a system in PHP wich uses sessions. While I'm testing the system some times the session finishes unexpectedly. Some times the system works during one hour without problems but other times the system finishes after five minutes and return to the login page. I think that the session

Re: [PHP] IE Issues

2003-07-22 Thread Curt Zirzow
* Thus wrote Nelson Rodriguez-Pena ([EMAIL PROTECTED]): > Hi Pete, > > >> Why is the font tag evil and depreciated ??? > >> confused pete > > Because it is a presentational element and HTML is headed to structural > content instead of visual formating. Structure is for HTML, presentation is > for

Re: [PHP] IE Issues

2003-07-22 Thread Curt Zirzow
* Thus wrote Pete Morganic ([EMAIL PROTECTED]): > so which tag should i use .. ??? Yes, you can use the div and span tags. I would suggest using CSS so you can define a class for an item and use it where necessary. For example: Text More Text Curt -- "I used to think I was indecisive, bu

RE: [PHP] IE Issues

2003-07-22 Thread Chris W. Parker
Pete Morganic on Tuesday, July 22, 2003 7:39 AM said: > so which tag should i use .. ??? You should use proper mark up is what you should use. Or I think some people call it "the semantic web". Not exactly sure. But here is an example. You might normally have: H

Re: [PHP] references

2003-07-22 Thread Curt Zirzow
* Thus wrote Carl Furst ([EMAIL PROTECTED]): > Ok lets see I have the following two functions one calls the other > > Function a (&$myref) { > > ..something... then calls function b > > b($myref); > > } > > function b (&$myref) { > > something > > } > > a($myref); > > is the reference by

RE: [PHP] can't restart session

2003-07-22 Thread Chris W. Parker
Adrian Portsmouth on Tuesday, July 22, 2003 12:19 AM said: > As I said, you are not calling your session user_info, the only way > to name a session is to use session_name() BEFORE session_start() if > you are not using a session_name call then change your setcookie

[PHP] Re: references

2003-07-22 Thread Joshua Groboski
It is perfectly legal to pass the variable by reference from one function to another. You'll see that $tmp is 2 at the end of this script. Ofcourse, if you leave off the reference operators you'll end up with 0. "Carl Furst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok let

[PHP] Re: mail()

2003-07-22 Thread Javier
[EMAIL PROTECTED] (Joshua Groboski) wrote in news:[EMAIL PROTECTED]: but I will get a relaying is denied because the target domain isn't the same domain I am connected to for eg. yahoo.com > Why don't you send it to [EMAIL PROTECTED] I think as long as > the $to address doesn't fail, you'll be

[PHP] Re: mail()

2003-07-22 Thread James Rodenkirch
in the headers section of the mail() function have a line of text like this - you would obviously need to build the list of email address. $headers = "Bcc: [EMAIL PROTECTED],[EMAIL PROTECTED] .\n" Javier wrote: [EMAIL PROTECTED] (Joshua Groboski) wrote in news:[EMAIL PROTECTED]: but I wil

[PHP] RE: [PHP:OT] IE Issues

2003-07-22 Thread Jeff Harris
On Jul 22, 2003, "Chris W. Parker" claimed that: |Pete Morganic |on Tuesday, July 22, 2003 7:39 AM said: | |> so which tag should i use .. ??? | |You should use proper mark up is what you should use. Or I think some |people call it "the semantic web". Not exactly s

[PHP] Arrays and Alphabetical order

2003-07-22 Thread Don Mc Nair
Hi folks I am trying to print out a table of elements in alphabetical order. I have an SQL query which sorts out the data in order and am using 'while ($info =(mysql_fetch_row...etc)) to read the data array. I need it to echo out a table with all the A's first, then a blank line, then all the B's,

Re: [PHP] Arrays and Alphabetical order

2003-07-22 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 17:40, lines prefixed by '>' were originally written by you. > I need it to echo > out a > table with all the A's first, then a blank line, then all the B's, a > blank > line and so on. I could write 26 different queries, on

Re: [PHP] mail()

2003-07-22 Thread Javier
[EMAIL PROTECTED] (Chris Shiflett) wrote in news:[EMAIL PROTECTED]: For eg: If I've got 20 users that have a yahoo email. I just want to connect one time to send all the 20 messages not a connection for every email. > --- Javier <[EMAIL PROTECTED]> wrote: >> I would like to send just an email

Re: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Curt Zirzow
* Thus wrote Dan Joseph ([EMAIL PROTECTED]): > Eek... Yes, I did past it wrong... > > SELECT payment_methods.ba_type, loan_info.loan_number, loan_info.id AS > loan_id, cust_info.first_name, cust_info.last_name, > transactions.approved_date, payment_types.type FROM loan_info, cust_info, > transact

[PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
I've been using up until a day or so ago version 4.0.6. I'm moving everything now to 4.3.2 but having problems with sessions. I've tried a basic example but can't retrieve session values. Can anyone tell me what I'm doing wrong? I see the session file is created but can't retrieve its value. What i

Re: [PHP] Arrays and Alphabetical order

2003-07-22 Thread Liam Gibbs
<> Do a query, sorting by the field you need alphabetized. Then do this (and tidy it up as you need): echo ""; while($result = mysql_fetch_row$(query)) { if(substr($result, 0, 1) != $previousfirstletter) { $previousfirstletter = substr($result, 0, 1); echo "$previousfirstletter";

Re: [PHP] Re: mail()

2003-07-22 Thread Curt Zirzow
* Thus wrote Javier ([EMAIL PROTECTED]): > [EMAIL PROTECTED] (Joshua Groboski) wrote in > news:[EMAIL PROTECTED]: > > but I will get a relaying is denied because the target domain isn't the > same domain I am connected to for eg. yahoo.com Why are you connection to yahoo to send this mail? send

[PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
Just noticed my email was messed up because of the html. Sorry about that I've been using up until a day or so ago version 4.0.6. I'm moving everything now to 4.3.2 but having problems with sessions. I've tried a basic example but can't retrieve session values. Can anyone tell me what I'm doing wro

Re: [PHP] Re: mail()

2003-07-22 Thread Chris Hayes
At 18:29 22-7-03, you wrote: [EMAIL PROTECTED] (Joshua Groboski) wrote in news:[EMAIL PROTECTED]: but I will get a relaying is denied because the target domain isn't the same domain I am connected to for eg. yahoo.com > Why don't you send it to [EMAIL PROTECTED] I think as long as > the $to addres

[PHP] images in databases & Flash via PHP

2003-07-22 Thread Tim Baker
I was wondering - are there any good tutorials/examples of serving & updating images from a mySQL database via PHP? I assume this is possible, but I'm almost a newbie having not used PHP/mySQL for ages with some knowledge but would like to know more... Also now Flash MX can dynam

[PHP] Re: mail()

2003-07-22 Thread Javier
[EMAIL PROTECTED] (James Rodenkirch) wrote in news:[EMAIL PROTECTED] net.com: And what about the To? Is it possible to send an email without the To? > in the headers section of the mail() function have a line of text like > this - you would obviously need to build the list of email address. > >

Re: [PHP] Re: mail()

2003-07-22 Thread Javier
[EMAIL PROTECTED] (Curt Zirzow) wrote in news:20030722165644.GK67309 @bagend.shire: Ehh you're right, I'll let the mail server to handle that problem. :) > Why are you connection to yahoo to send this mail? sendmail should > handle who to connect to. > > > > Curt -- *** s2r - public k

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Evan Nemerson
Were you planning on incrementing $_SESSION['count'] anywhere? If not, try On Tuesday 22 July 2003 09:55 am, Joe Sheehan wrote: > Just noticed my email was messed up because of the html. Sorry > about that > > I've been using up until a day or so ago version 4.0.6. > I'm moving everything no

Re: [PHP] Arrays and Alphabetical order

2003-07-22 Thread Evan Nemerson
/* UNTESTED - and prolly could be more efficient */ $c = $d = ''; natsort($info); foreach ( $info as $i ) { $d = substr($i, 0, 1); if ( $d != $c ) echo "\n"; echo $i; $c = $d; } On Tuesday 22 July 2003 09:40 am, Don Mc Nair wrote: > Hi folks > > I a

Re: [PHP] php weirdness

2003-07-22 Thread Evan Nemerson
Does the cpu spike for all scripts or just this one. If just this one, can you narrow it down to a single line? On Tuesday 22 July 2003 08:50 am, Javier wrote: > Hi, I'm running PHP 4.3.2 (cgi-fcgi) (win32). > > Everytime I run a script from the command line: > php -q myscript.php > > The proce

[PHP] Re: mail()

2003-07-22 Thread James Rodenkirch
You should have something in the To field -an address of some sort. Be careful using the Bcc fields tho. Most spam filters will flag your email if you do it this way. I understand you are trying to reduce load, but if you want to guarantee delivery of you message, you should write a loop and se

Re: [PHP] File download by php header...

2003-07-22 Thread Scott Fletcher
Found the problem. It is the odbc_connect() that cause the download to fall short of completing it's download. Weird! I think it's because the database connection have a slower response time than the download response time. PHP header should not be affected by the odbc function... But then I r

[PHP] Hi All

2003-07-22 Thread Rausch Alexandru
This is a test message

Re: [PHP] Re: mail()

2003-07-22 Thread Javier
[EMAIL PROTECTED] (Chris Hayes) wrote in news:[EMAIL PROTECTED]: > Is your script on a yahoo.com PHP-enabled website? > > If not: most servers deny access to the mailer because mailers (often > SMTP servers) with public access have been widely abused in the past, > especially by spammers. If this

[PHP] Hi All

2003-07-22 Thread Rausch Alexandru
I eant to install a "user" system on my website. the site it is enterily in flash. What to u recomand : first to make a login areea with php and start a sesion and after that to load flash movie and to test if there is an valid user on my website. You can see what i am talking about at http://www

[PHP] Redirect output of include() for mailing

2003-07-22 Thread Reuben D. Budiardja
Hello, Suppose I have a php file that output certain HTML given certain parameters. So I can call it likt http://localhost/myscript.php?foo=bar I can include it from other page using include('myscript.php?foo=bar') But how can I instead capture the output of the include to variable and mail it

Re: [PHP] Redirect output of include() for mailing

2003-07-22 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at 18:37, lines prefixed by '>' were originally written by you. > But how can I instead capture the output of the include to variable > and mail > it, something like > $msg = include('myscript.php?foo=bar") Use output bufferin

  1   2   3   >