php-windows Digest 16 Mar 2001 00:58:07 -0000 Issue 493 Topics (messages 6050 through 6086): Re: Download Prompt Problem 6050 by: Fernando Madruga Re: Mail/PHP/Apache 6051 by: Matt Williams Re: Help Needed on MSSQL 6052 by: Fernando Madruga 6061 by: Andrian Pervazov Interbase: ibase_pconnect() problem 6053 by: Wolfgang Hege Re: Print variables coming from a form not controled by me... 6054 by: Fernando Madruga 6067 by: Dream 6074 by: Michael Rudel apache + php + system() = error :( 6055 by: Jürgen Lasn 6056 by: Fernando Madruga 6057 by: Jürgen Lasn PHP Session 6058 by: Glenn 6059 by: Jürgen Lasn Re: News with MySQL 6060 by: Asendorf, John 6062 by: Mangiola Nunzio Datavia PHP+Apache question 6063 by: Martin Lindhe 6064 by: Fernando Madruga 6069 by: Chris Adams Acessing a DDE server 6065 by: Chris Hills mime problems 6066 by: Free Beachler exec/system/passthru ?????? 6068 by: Josh Seward 6072 by: Fernando Madruga 6075 by: Josh Seward 6076 by: Fernando Madruga php&win98 6070 by: Aleksey Filimonov 6071 by: Fernando Madruga 6077 by: Tom Mathews Re: Uninitialized Variables 6073 by: Florian Poizac 6082 by: Phil Driscoll php3 var question 6078 by: Mize, Robert 6079 by: Phillip Bow 6080 by: afan problem loading php_oci8.dll - IIS 5-0 - PHP 4.0.4 6081 by: "Barraud, Stéphane" Showing source code with .phps extension 6083 by: Anders Pettersson 6084 by: Keith Stevenson JavaScript Help! 6085 by: Brinkman, Theodore 6086 by: Marius Manolea Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
You are probably running it as a cgi, if that's the case, you'll have to add the following lines to your httpd.conf inside the <IfModule mod_mime.c> <IfModule mod_php4.c> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> These will let Apache know how to handle .php files and will probably do the trick. HTH, Fernando Madruga -----Original Message----- From: Daniel [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 1:57 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Download Prompt Problem I am very new to php, but i tried to install it and i followed the directions i think... But everytime i try to view a .php document in IE it prompts me to download the file instead of viewing it in the browser. And when I do download the file and run it, it opens it up in a "Command Prompt" and runs a bunch of html syntax really fast, I am thinking that is my php configuration that i am supposed to see in my browser. Is there an extension problem or something? .php extensions are set to run the /php/php.exe file but I cant figure anything out. I am running apache on windows 2000. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
I've had problems with sending mails if I try to use \n in the mail. try send ing a one line email with no extra headers. and no \n's anywhere Also to set up the php as an apache module, get the latest version from php.net. copy php4ts.dll to windows\system and add this to your http.conf LoadModule php4_module "c:/php/sapi/php4apache.dll" # or whatever your path to php AddType application/x-httpd-php .php .php3 .phtml then try restarting apache M@
I have no experience on MSSQL, but it looks like you may have some missing dll. Note that, when windows complains about a missing dll, it may happen that that dll itself is present but depends on another one which is not... I had a look at the php_mssql70.dll on my system and found out that it depends on a NTWDBLIB.DLL which you may not have... Just a guess. HTH, Fernando Madruga -----Original Message----- From: R. Srinath [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 9:08 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Help Needed on MSSQL >Dear Sir >I installed PHP (Latest version) on my machine which runs on WIN 2000 >Advanced server and as MSSql 7.0 but as given in the site if I take >comment from the extension file that is in the PHP.INI file I have all the >Dlls but it is telling the Dll is not found. I copied the Dll and pasted >it in the WINNT directory itself it didnt work and also copied the file >and pasted inot the PHP directory then also it didnt work it is always >showing a alert that the Dll is not to be found what should I do further. >PHP is executing correctly only the Database couldnt be connected. Please >help me in this regard as soon as possible >thanks >srinath -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
That's right, you need to have SQL Server or its client installed on the machine that runs PHP. At least, you should have NTWDBLIB.DLL in your system folder (this DLL is otherwise installed by SQL Server). Andrian Fernando Madruga wrote: > > I have no experience on MSSQL, but it looks like you may have some > missing dll. Note that, when windows complains about a missing dll, > it may happen that that dll itself is present but depends on another > one which is not... > I had a look at the php_mssql70.dll on my system and found out that > it depends on a NTWDBLIB.DLL which you may not have... > Just a guess. > > HTH, > Fernando Madruga > > -----Original Message----- > From: R. Srinath [mailto:[EMAIL PROTECTED]] > Sent: quinta-feira, 15 de Março de 2001 9:08 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Help Needed on MSSQL > > >Dear Sir > >I installed PHP (Latest version) on my machine which runs on WIN 2000 > >Advanced server and as MSSql 7.0 but as given in the site if I take > >comment from the extension file that is in the PHP.INI file I have all the > >Dlls but it is telling the Dll is not found. I copied the Dll and pasted > >it in the WINNT directory itself it didnt work and also copied the file > >and pasted inot the PHP directory then also it didnt work it is always > >showing a alert that the Dll is not to be found what should I do further. > >PHP is executing correctly only the Database couldnt be connected. Please > >help me in this regard as soon as possible > >thanks > >srinath > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi ! I have following problem when connecting to Interbase: When trying to establish a persistent connection using 'ibase_pconnect()' a new connection is created each time. The database connection remains open, but it will not be re-used later. So I have loads of database connections and a huge performance problem. My environment: - WinNT 4.0 SP5 - Apache 1.3.19 - PHP/4.0.4pl1 ( loaded as module ) - Interbase 6.0 Does anybody know some help ? Thank you very much. Wolfgang.
I have PHP 4.0.4 and I get the same error... After retyping the whole line manually (no copy/paste), it stopped complaining! There's a missing parentheses on that line between 'each' and '$HTTP_GET_VARS' !! However, even though it does not complain, it still doesn't give the values expected!! Well... It would be somewhat dificult to work!!! The function is not called anywhere!!!! Also, it would not work because of another error on the second 'each' line: it should be each $val_child!!! So, here's a rewrite of that code, complete with a table style dump, and a sample form to test it, all in the same file. Just save this as whatever.php or something else somewhere in your site and point your browser at it... Don't forget the following though: "In PHP 4, the behaviour is slightly different, in that the new global array $HTTP_POST_FILES is provided to contain the uploaded file information. This is still only available if track_vars is turned on, but track_vars is always turned on in versions of PHP after PHP 4.0.2." If you're using PHP3, you may have to change your php.ini to turn on track_vars... This code WORKS on my Apache 1.3.14 + PHP 4.0.4... Have fun, Fernando Madruga ---------------------------------------------------------------------------- -------- <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <? function DumpHttpGetVars() { global $HTTP_GET_VARS; if( $HTTP_GET_VARS ) { echo "<table cols=3 border=1>\n"; reset ( $HTTP_GET_VARS ); while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) ) { echo "<tr><td colspan=2>$key</td><td>$val</td></tr>\n"; if ( "array" === GetType( $val ) ) { reset( $val ); while ( list( $childKey, $childValue ) = each($val) ) { echo "<tr><td> </td><td>$childKey</td><td>$childValue</td></tr>\n"; } } } echo "</table>\n"; } } if (!$submit) { // Create a form to use GET ?> <form action="<? echo $SCRIPT_NAME ?>" method="get"> Just to test<br> <input type="text" size="40" name="test" value="something"> <input type="submit" name="submit" value="Go!"> <br><select multiple name="beer[]"> <option value="warthog">Warthog <option value="guinness">Guinness <option value="stuttgarter">Stuttgarter Schwabenbräu </select> </form> <? } else { // process submited data ?> <p><? echo $SERVER_ADDR; ?></p> <p><? echo $REMOTE_ADDR; ?></p> <p><? echo $HTTP_USER_AGENT; ?></p> <p><? DumpHttpGetVars(); ?></p> <? } // end if submit ?> </body> </html> ---------------------------------------------------------------------------- ----------------------
Thank you very much.... I'm gonna test it! Por cierto, Fernado, hablas español? yo soy de barcelona marc "Fernando Madruga" <[EMAIL PROTECTED]> escribió en el mensaje 3685A91F554BD411BA310008C759B6CC02527BFC@MAIL_CBR">news:3685A91F554BD411BA310008C759B6CC02527BFC@MAIL_CBR... I have PHP 4.0.4 and I get the same error... After retyping the whole line manually (no copy/paste), it stopped complaining! There's a missing parentheses on that line between 'each' and '$HTTP_GET_VARS' !! However, even though it does not complain, it still doesn't give the values expected!! Well... It would be somewhat dificult to work!!! The function is not called anywhere!!!! Also, it would not work because of another error on the second 'each' line: it should be each $val_child!!! So, here's a rewrite of that code, complete with a table style dump, and a sample form to test it, all in the same file. Just save this as whatever.php or something else somewhere in your site and point your browser at it... Don't forget the following though: "In PHP 4, the behaviour is slightly different, in that the new global array $HTTP_POST_FILES is provided to contain the uploaded file information. This is still only available if track_vars is turned on, but track_vars is always turned on in versions of PHP after PHP 4.0.2." If you're using PHP3, you may have to change your php.ini to turn on track_vars... This code WORKS on my Apache 1.3.14 + PHP 4.0.4... Have fun, Fernando Madruga ---------------------------------------------------------------------------- -------- <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <? function DumpHttpGetVars() { global $HTTP_GET_VARS; if( $HTTP_GET_VARS ) { echo "<table cols=3 border=1>\n"; reset ( $HTTP_GET_VARS ); while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) ) { echo "<tr><td colspan=2>$key</td><td>$val</td></tr>\n"; if ( "array" === GetType( $val ) ) { reset( $val ); while ( list( $childKey, $childValue ) = each($val) ) { echo "<tr><td> </td><td>$childKey</td><td>$childValue</td></tr>\n"; } } } echo "</table>\n"; } } if (!$submit) { // Create a form to use GET ?> <form action="<? echo $SCRIPT_NAME ?>" method="get"> Just to test<br> <input type="text" size="40" name="test" value="something"> <input type="submit" name="submit" value="Go!"> <br><select multiple name="beer[]"> <option value="warthog">Warthog <option value="guinness">Guinness <option value="stuttgarter">Stuttgarter Schwabenbräu </select> </form> <? } else { // process submited data ?> <p><? echo $SERVER_ADDR; ?></p> <p><? echo $REMOTE_ADDR; ?></p> <p><? echo $HTTP_USER_AGENT; ?></p> <p><? DumpHttpGetVars(); ?></p> <? } // end if submit ?> </body> </html> ---------------------------------------------------------------------------- ---------------------- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
What error pops up ?? Make sure, that 'register_globals = On' in your php.ini ! Greetinx, Mike -----Original Message----- From: Dream [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 9:50 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Print variables coming from a form not controled by me... Hi Michael, Also, when I run the page, it give me a parse error in line 22, that is: while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) ) Any idea? Here's the complete page <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <? function DumpHttpGetVars() { global $HTTP_GET_VARS; if( $HTTP_GET_VARS ) { reset ( $HTTP_GET_VARS ); while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) ) { echo "$key => $val<br>\n"; if ( "array" == GetType( $val ) ) { while ( list ( $key_child, $val_child ) = each $HTTP_GET_VARS ) ) { echo "|--> $key => $val<br>\n"; } } } } } ?> <p> <? echo $SERVER_ADDR; ?> </p> <p> <? echo $REMOTE_ADDR; ?> </p> <p> <? echo $HTTP_USER_AGENT; ?> </p> </body> </html> ""Michael Rudel"" <[EMAIL PROTECTED]> escribió en el mensaje 002001c0aba9$4fc50ab0$[EMAIL PROTECTED]">news:002001c0aba9$4fc50ab0$[EMAIL PROTECTED]... > // Dumps out all HTTP_GET_VARS: > function DumpHttpGetVars() > { > global $HTTP_GET_VARS; > > if( $HTTP_GET_VARS ) > { > reset ( $HTTP_GET_VARS ); > while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) ) > { > echo "$key => $val<br>\n"; > if ( "array" == GetType( $val ) ) > { > while ( list ( $key_child, $val_child ) = each > $HTTP_GET_VARS ) ) > { > echo "|--> $key => $val<br>\n"; > } > } > } > } > } > > So you just call the function 'DumpHttpGetVars()' > and all of them will be printed out. > > Greetinx, > Mike > > Michael Rudel > - Web-Development, Systemadministration - > _______________________________________________________________ > > Suchtreffer AG > Bleicherstraße 20 > D-78467 Konstanz > Germany > fon: +49-(0)7531-89207-17 > fax: +49-(0)7531-89207-13 > e-mail: mailto:[EMAIL PROTECTED] > internet: http://www.suchtreffer.de > _______________________________________________________________ ""Michael Rudel"" <[EMAIL PROTECTED]> escribió en el mensaje 002001c0aba9$4fc50ab0$[EMAIL PROTECTED]">news:002001c0aba9$4fc50ab0$[EMAIL PROTECTED]... > // Dumps out all HTTP_GET_VARS: > function DumpHttpGetVars() > { > global $HTTP_GET_VARS; > > if( $HTTP_GET_VARS ) > { > reset ( $HTTP_GET_VARS ); > while ( list ( $key, $val ) = each ( $HTTP_GET_VARS ) ) > { > echo "$key => $val<br>\n"; > if ( "array" == GetType( $val ) ) > { > while ( list ( $key_child, $val_child ) = each > $HTTP_GET_VARS ) ) > { > echo "|--> $key => $val<br>\n"; > } > } > } > } > } > > So you just call the function 'DumpHttpGetVars()' > and all of them will be printed out. > > Greetinx, > Mike > > Michael Rudel > - Web-Development, Systemadministration - > _______________________________________________________________ > > Suchtreffer AG > Bleicherstraße 20 > D-78467 Konstanz > Germany > fon: +49-(0)7531-89207-17 > fax: +49-(0)7531-89207-13 > e-mail: mailto:[EMAIL PROTECTED] > internet: http://www.suchtreffer.de > _______________________________________________________________ > > > > -----Original Message----- > From: Tom Mathews [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 13, 2001 10:38 AM > Cc: PHP Windows lista > Subject: Re: [PHP-WIN] Print variables coming from a form not controled > by me... > > > Anything in the querystring can be translated as a php variable. > > Say you have the string coming in as > ...?result=1&age=23... > then in the called page/script, the querystring are already variables. > eg $result will have the value 1, $age will have the value 23... > > Hope this is what you're after > > Tom > Dream wrote: > > > Any idea of how to get information from a form (not a form controlled by > me, > > through GET method, i.e. info coming with the URL, like this > > http://www.xxx.com/xxx.cgi?result=1&age=23&name=john) and print it > through > > php v.3? > > > > I don't know how to get the info (coming from an outside form) and pass it > > throught the php3 variables...... > > > > Thanks, > > > > marc > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi! i have PHP version 4.0.4pl1 running on apache webserver and i have trouble using command "system" it gives me errormessage : Warning: Unable to fork [batch.bat] in c:/apache/htdocs/xxx/xxx/index.php on line xx and on line xx is : $bla=system("batch.bat",$ex_code); HOW can i make it FORK ... or run the bat-script? thnx in advance, Jürgen Lasn from Estonia.
You could try replacing "batch.bat" with "c:\windows\command.com /c batch.bat" for windows 9x or "C:\winnt\cmd.exe /c batch.bat" or something like that. HTH, Fernando Madruga -----Original Message----- From: Jürgen Lasn [mailto:jyrgen[@][EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 12:19 To: [EMAIL PROTECTED] Subject: [PHP-WIN] apache + php + system() = error :( Hi! i have PHP version 4.0.4pl1 running on apache webserver and i have trouble using command "system" it gives me errormessage : Warning: Unable to fork [batch.bat] in c:/apache/htdocs/xxx/xxx/index.php on line xx and on line xx is : $bla=system("batch.bat",$ex_code); HOW can i make it FORK ... or run the bat-script? thnx in advance, Jürgen Lasn from Estonia. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi! No the error is not generated while exec'ing external program but while it attemts to call the system() command ... it's like the system() and exec() are malfuncioning ... using backticks (`) made the script to hang .... there is something very fundamental that i do wrong but ... where? what? whoknows? :) Jürgen. "Fernando Madruga" <[EMAIL PROTECTED]> wrote in message 3685A91F554BD411BA310008C759B6CC02527C23@MAIL_CBR">news:3685A91F554BD411BA310008C759B6CC02527C23@MAIL_CBR... You could try replacing "batch.bat" with "c:\windows\command.com /c batch.bat" for windows 9x or "C:\winnt\cmd.exe /c batch.bat" or something like that.
Please, can anybody tell me how to set the lifetime of a session without cookies, in PHP 4 and IIS? I have tryied this on the main.php file but it did't work session_set_cookie_params ( time()+10); the session did't killed best regards //Glenn _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com
if you want to expire cookie set it's date in the past ... (eq. 0 or 10 or something smaller then time() gives you :) greets, Jürgen. ""Glenn"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Please, can anybody tell me how to set the lifetime > of a session without cookies, in PHP 4 and IIS? > I have tryied this on the main.php file but it did't work > > session_set_cookie_params ( time()+10); > > the session did't killed >
I'm doing the same thing kind of differently. Instead of storing the first paragraph seperately from the whole story I'm just reading up to the first <br> (which I insert when the story is typed in by the user) The code for just using the first paragraph looks like this: else { $story = split ("<br>", $story, 2); echo "<P>$place - ${story[0]} <a href=\"${full_story_page}?print=true&story_key=$key\">Read more...</a></P>\n\n"; } $story is the whole story pulled The split breaks the story up in to bieces by <br>'s and then the ${story[0]} just uses the first piece... Good Luck! --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Mangiola Nunzio Datavia [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 1:46 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] News with MySQL > > > Hi > > What I would like to do is save a news > item as a html or text file. Then place it into > a MySQL database. Afterwards I would like > to display the fist paragraph of each news > posting on a site in a summary format. > > If the user would like to see more all > he has to do is click on the corresponding > link and it will take him to the full story. > > Now I know how to upload files and download > full files from the database. I also > know how to strip the first paragraph of an > HTML file. But how to put them > together? > > Anybody got any pointers? > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] >
Thanks. But you misunderstood. What I want to do is strip the first part of the html document and display it. Then have a link that will lead to the rest of the document. So you see there is no physical split but a virtual split. The reason I don't use the method that you have is because I don't always get standard html files and I don't want to have to edit them. This is my stripper code: <?php if ( $fp = fopen( "http://server/dir/retrieve.php?id=18", "r" ) ) { while( ! feof( $fp ) ) { $line = fread ($fp, 500); if ( ! strpos( $line, "<P>" ) === false ) { echo $line; break; } } fclose( $fp ); } ?> <A HREF="news0.php" target="_top"><FONTSIZE="2">...More</FONT></A> I have now found a way to strip from the database. What I need now is a way to strip the latest posting and then 4 or five earlier onse for display in a table. I aim the striper at a retrieve code: <?php // getdata.php3 - by Florian Dittmer <[EMAIL PROTECTED]> // Example php script to demonstrate the direct passing of binary data // to the user. More infos at http://www.phpbuilder.com // Syntax: getdata.php3?id=<id> if (isset($id)) { // you may have to modify login information for your database server: MYSQL_CONNECT("server","user", "password"); mysql_select_db("bin_data"); $query = "select bin_data,filetype from binary_data where id=$id"; $result = MYSQL_QUERY($query); $data = MYSQL_RESULT($result,0,"bin_data"); $type = MYSQL_RESULT($result,0,"filetype"); Header( "Content-type: $type"); echo $data; }; ?> Thanks for the suport I hope I get it right. > ---------- > From: Asendorf, John[SMTP:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 3:30 PM > To: Mangiola Nunzio Datavia; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] News with MySQL > > I'm doing the same thing kind of differently. Instead of storing the > first > paragraph seperately from the whole story I'm just reading up to the first > <br> (which I insert when the story is typed in by the user) > > The code for just using the first paragraph looks like this: > > else { > $story = split ("<br>", $story, 2); > echo "<P>$place - ${story[0]} <a > href=\"${full_story_page}?print=true&story_key=$key\">Read > more...</a></P>\n\n"; > } > > $story is the whole story pulled > > The split breaks the story up in to bieces by <br>'s and then the > ${story[0]} just uses the first piece... > > Good Luck! > > --------------------- > John Asendorf - [EMAIL PROTECTED] > Web Applications Developer > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > Aut insanit homo, aut versus facit > > > > -----Original Message----- > > From: Mangiola Nunzio Datavia [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, March 15, 2001 1:46 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] News with MySQL > > > > > > Hi > > > > What I would like to do is save a news > > item as a html or text file. Then place it into > > a MySQL database. Afterwards I would like > > to display the fist paragraph of each news > > posting on a site in a summary format. > > > > If the user would like to see more all > > he has to do is click on the corresponding > > link and it will take him to the full story. > > > > Now I know how to upload files and download > > full files from the database. I also > > know how to strip the first paragraph of an > > HTML file. But how to put them > > together? > > > > Anybody got any pointers? > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] > > >
hey fellow php fans :) i wrote a php script that fetches some information from warious places on the web and stores the data in a mysql database. tho the execution can take a long time, so i would want to execute it on a regular interval instead, so the data can be fetched from the database only, with close enough up-to-date information. however php (of course) executes scripts as they are accessed, and i havent found any hints of how to accomplish this in either php or apache documentation. is there a easy solution? /Martin Lindhe
The easy way is to use register_shutdown_function('function_name') and that function will be executed AFTER the script finishes, so the end use will not have to wait for it to complete... HTH, Fernando Madruga -----Original Message----- From: Martin Lindhe [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 14:16 To: '[EMAIL PROTECTED]' Subject: [PHP-WIN] PHP+Apache question hey fellow php fans :) i wrote a php script that fetches some information from warious places on the web and stores the data in a mysql database. tho the execution can take a long time, so i would want to execute it on a regular interval instead, so the data can be fetched from the database only, with close enough up-to-date information. however php (of course) executes scripts as they are accessed, and i havent found any hints of how to accomplish this in either php or apache documentation. is there a easy solution? /Martin Lindhe -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
On 15 Mar 2001 06:12:43 -0800, Martin Lindhe <[EMAIL PROTECTED]> wrote: >the execution can take a long time, so i would want to execute it >on a regular interval instead, so the data can be fetched from >the database only, with close enough up-to-date information. > >however php (of course) executes scripts as they are accessed, and >i havent found any hints of how to accomplish this in either php >or apache documentation. is there a easy solution? Install the CGI version of PHP and set up a batch file which calls it to run your script; this batch file can then be added to the system scheduler. Alternately, you could modify your script to basically call sleep() and start again instead of existing.
How can i access a dde server using php?
can anyone help with this? I'm using a mime class based out of S. Hughes' SAMS book "PHP Developer's cookbook". ...running PHP 4.0.3pl1 on NT 2000 IIS 5... I've modified the MIME class using the RFC 1521 spec and an article by Kartic Krishnamurthy on phpbuilder.com. It looks to me like the class is generating the MIME headers correctly, as in this example: From: 'Alex (the Great)' <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: re: Bucephalus MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="simpleboundary"; Content-Transfer-Encoding: 7bit This is a MIME Encoded Message --simpleboundary Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi PHP, Attached you will find my horse, Bucephalus', pedigree chart and photo. Alex --simpleboundary Content-Type: text/html; name=""; Content-Transfer-Encoding: base64 Content-Description: "html email" <.....html code here...> --simpleboundary-- obviously, my "simpleboundary" is an md5 hash plus some extra misc chars, just like in the article and book referenced above. the problem is(?) the mail() function call in the MIME class' send_mail() method. It is failing on messages seemingly due to length. when the total length of the mime message is approximately 4K the mail() function starts acting erraticly. Up to that point it works fine. At some point near 4K, i don't know what length exactly, the mail function returns "Failed to send ... on line x". I've been playing with the message length using simply a substr(). It seems another 40 bytes more than the length that causes the "failed..." msg. and the mail() function just hangs and the script stops after a minute or two with nothing further displayed. anyone else seen this? either I'm missing something about MIME message length or something is up with PHP on windows 2000. or neither. a MIME class analogous to the one I'm using can be found at: http://www.phpbuilder.com/columns/kartic20000807.php3?page=1 thanks all, -tenacious
I am trying to open a program and leave it running in the background. The script will always hang until I close the program that it opens? Here is my code $result = passthru($command."& 1> output.txt 2>&1; print output.txt; &", $pass); I have tried using exec() system() and passthru() all with the same effect? Does anyone know how to do this? I am running win2000! Thanks, Josh Seward [EMAIL PROTECTED]
Why would you want to leave a program running in the background, if you're using it to generate content? First, I believe that Windows NT/2K does not accept or like the ampersand (&) on the end: all programs launched will run in the background, unless they are command-line programs running on a dos-shell; Secondly, I guess that exec(), passthru(), system() and the backticks all have problems on Windows platforms?! You'd be better off using two different programs: one would print whatever you wanted it to print and them would launch the second program to be left running doing whatever it has to do just before exiting... :) HTH, Fernando Madruga -----Original Message----- From: Josh Seward [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 15:10 To: [EMAIL PROTECTED] Subject: [PHP-WIN] exec/system/passthru ?????? I am trying to open a program and leave it running in the background. The script will always hang until I close the program that it opens? Here is my code $result = passthru($command."& 1> output.txt 2>&1; print output.txt; &", $pass); I have tried using exec() system() and passthru() all with the same effect? Does anyone know how to do this? I am running win2000! Thanks, Josh Seward [EMAIL PROTECTED]
Hello, The program I want to run is a command-line program running on a dos-shell; I need to run this program and send commands to it whiel its running. The program I am running excepts keyboard input commands, but I want my program to give it the commands it needs. Is there anyway of doing this? I want my program to launch a dos prgram (Does this then hangs?) and then send commands to the same program it just launched. Fernando Madruga - "Why would you want to leave a program running in the background, if you'reusing it to generate content?" No this script is not for the webserver to run at all. This is a stand alone program that I might add php-gtk to in the future. Thanks again, Josh Seward [EMAIL PROTECTED] ----- Original Message ----- From: "Fernando Madruga" <[EMAIL PROTECTED]> To: "Josh Seward" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 10:48 AM Subject: RE: [PHP-WIN] exec/system/passthru ?????? Why would you want to leave a program running in the background, if you're using it to generate content? First, I believe that Windows NT/2K does not accept or like the ampersand (&) on the end: all programs launched will run in the background, unless they are command-line programs running on a dos-shell; Secondly, I guess that exec(), passthru(), system() and the backticks all have problems on Windows platforms?! You'd be better off using two different programs: one would print whatever you wanted it to print and them would launch the second program to be left running doing whatever it has to do just before exiting... :) HTH, Fernando Madruga -----Original Message----- From: Josh Seward [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 15:10 To: [EMAIL PROTECTED] Subject: [PHP-WIN] exec/system/passthru ?????? I am trying to open a program and leave it running in the background. The script will always hang until I close the program that it opens? Here is my code $result = passthru($command."& 1> output.txt 2>&1; print output.txt; &", $pass); I have tried using exec() system() and passthru() all with the same effect? Does anyone know how to do this? I am running win2000! Thanks, Josh Seward [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Is the program a simple one or does it have an elaborate look and feel? If it's a simple one, you can probably generate a file, then redirect the program's input to accept the data from that file; if it's a more elaborated program, it will probably disregard standard input, so it's a lot harder to do... :) I don't (yet) have any experience on php scripts outside of web pages, so I believe I can't be of much help to you... :) See ya, Fernando Madruga
Hi all, I have some problems installing php-4.0.4pl1 on apache-1.3.14 on win98... The apache server is running fine before adding this line in httpd.conf: LoadModule php4_module c:/php/sapi/php4apache.dll After adding module apache crash with alert: This program has performed an illegal operation and will be shut down. details: APACHE caused an invalid page fault in module MSVCRT.DLL at 0177:7800d269. etc. Any ideas???? Aleks Filimonov ([EMAIL PROTECTED])
Yes: go get the 1.3.17 windows binary and install it. (http://httpd.apache.org/dist/binaries/win32/apache_1.3.19-win32-src-r2.msi) You can also try the php4apache-eapi.dll instead if your php distribution comes with one... HTH, Fernando Madruga -----Original Message----- From: Aleksey Filimonov [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 15:39 To: [EMAIL PROTECTED] Subject: [PHP-WIN] php&win98 Hi all, I have some problems installing php-4.0.4pl1 on apache-1.3.14 on win98... The apache server is running fine before adding this line in httpd.conf: LoadModule php4_module c:/php/sapi/php4apache.dll After adding module apache crash with alert: This program has performed an illegal operation and will be shut down. details: APACHE caused an invalid page fault in module MSVCRT.DLL at 0177:7800d269. etc. Any ideas???? Aleks Filimonov ([EMAIL PROTECTED]) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Yep - Apache bug - upgrade it! Aleksey Filimonov wrote: > Hi all, > > I have some problems installing php-4.0.4pl1 on apache-1.3.14 on win98... > The apache server is running fine before adding this line in httpd.conf: > LoadModule php4_module c:/php/sapi/php4apache.dll > After adding module apache crash with alert: > This program has performed an illegal operation and will be shut down. > details: > APACHE caused an invalid page fault in > module MSVCRT.DLL at 0177:7800d269. etc. > > Any ideas???? > > Aleks Filimonov > ([EMAIL PROTECTED]) > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]
in your php.ini you certainly have error_reporting = E_ALL this line active put a ; before and you can use this one instead error_reporting = E_ALL & ~E_NOTICE Cheers Florian ----- Original Message ----- From: Dwight Sparling <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 3:43 AM Subject: [PHP-WIN] Uninitialized Variables > Can PHP deal with variables that are not initialized? It is kicking out an > error when it runs into something that is not defined yet. > > mysql_select_db("mydb",$db); > > if ($id) { <=========Not initialized and PHP > kicks an error? > > // query the DB > > > Thanks! > Dwight > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Florian wrote: >error_reporting = E_ALL & ~E_NOTICE Better yet, leave your warning levels as they are and don't have uninitialised variables. They are a *bad* thing. Aside from general sloppiness, they are a security breach waiting to happen. What if someone initialises one to a dangerous value by passing it in as a get or post variable? Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org
If I have a set of variables named say: $var_1 $var_2 $var_3 and I want to use a for loop to do something with the variables like: for($i=1; $i<4; $i++){ echo $var_$i; } how do I do this so that $var_$i is interpreted as the variable ($var_1 ect)? Thanks, rob.
Is there any particular reason you don't just use an array for this? -- phill ""Mize, Robert"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If I have a set of variables named say: > $var_1 > $var_2 > $var_3 > > and I want to use a for loop to do something with the variables like: > for($i=1; $i<4; $i++){ > echo $var_$i; > } > > how do I do this so that $var_$i is interpreted as the variable ($var_1 > ect)? > > Thanks, > rob. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >
Try this: $var_1 = "one"; $var_2 = "two"; $var_3 = "three"; for($i=1; $i<4; $i++) { echo"$i. "; echo ${var_ . $i}; echo" <br>"; } ----- Original Message ----- From: "Mize, Robert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 9:32 AM Subject: [PHP-WIN] php3 var question > If I have a set of variables named say: > $var_1 > $var_2 > $var_3 > > and I want to use a for loop to do something with the variables like: > for($i=1; $i<4; $i++){ > echo $var_$i; > } > > how do I do this so that $var_$i is interpreted as the variable ($var_1 > ect)? > > Thanks, > rob. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > >
I'm trying to use oci8 to acces an oracle database. I have install PHP4.0.4pl1 as CGI on Windows2000 with IIS 5.0. When I uncomment the line extension for php_oci8.dll I get the following error message : "unable to load dynamic library d:\php\extensions\php_oci8.dll. The specified module could not be found" The extension path is correct and working for other dll (like gd) Oracle client 8.0.6 is installed with OCI. has anybody an idea of the problem ? TIA Steph.
On my Linux RH 6.2 computer - when working with Apache, mySQL and PHP - there is no problems showing the source code to my code developing friends. If I rename the php-file to phps it works just well. BUT, when doing the very same thing on my W98 or W2k machines, the source code will not show. The configuration is the same in httpd.conf and I've checked it out. Is this problem known? Does not the W32 platform support phps? Anders Pettersson
You need to edit the mod_php4.conf and edit the following section <FilesMatch ".*\.(php4|php3|php|phps|html|htm)$"> ForceType application/x-httpd-php </FilesMatch> this will allow PHP scripts to be parsed in phps, html and htm hope this helps -----Original Message----- From: Anders Pettersson [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 6:35 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Showing source code with .phps extension On my Linux RH 6.2 computer - when working with Apache, mySQL and PHP - there is no problems showing the source code to my code developing friends. If I rename the php-file to phps it works just well. BUT, when doing the very same thing on my W98 or W2k machines, the source code will not show. The configuration is the same in httpd.conf and I've checked it out. Is this problem known? Does not the W32 platform support phps? Anders Pettersson -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Let me preface this request by saying that I know this request for help isn't quite on-topic, but I haven't found any good places to ask for help on this. Thank you for not flogging me with wet noodles. Now, on to the question: We're having some problems relating to using MS SQL Server 2000 with a JavaScript ASP page. (Like I said, seriously ot here.) We get a datetime value from the database, and need to format it. From what I've been told by the others in the project, they've tried everything they can think of to get the SQL Server datetime value stuffed into a JavaScript Date object, but JavaScript doesn't seem to be willing to accept it. We're currently parsing it out by hand, but the code to do so is fugly to say the least. Anybody here know how to get around this? - Theo
Hi, I had problems with dates and times too! Once, I managed to make it work and when I moved my app to another server It didn't work because of different locale settings. So here is my idea : leave the locale away, use some independent string dates! I will attach an example also, but it is very simple. O sql ask for a string field, returned in a well known and locale independent format! The Date(string) seems to call internally the Date.parse(string) static method. Date.parse(string) will allways understand the 'mm/dd/yyyy' and the 'mm/dd/yyyy hh:mm:ss' date formats, whatever locale you have ! It works also in MS IE client JScript code! Here it is an example : var rs=sqlConn.Execute("SELECT CONVERT(varchar,GETDATE(),101) AS TODAY"); var dt_str=rs("TODAY").Value; var dt_obj=new Date(dt_str); // or new Date(Date.parse(dt_str)); Response.Write(dt_obj.toLocaleString()); bottom line, if you need a date only string use CONVERT(varchar,DATE_FIELD,101) if you need a date time string use CONVERT(varchar,GETDATE(),101)+' '+CONVERT(varchar,GETDATE(),108) Good Luck! Regards, Marius Manolea ""Brinkman, Theodore"" <[EMAIL PROTECTED]> wrote in message FE8510398BFE854F9653B5C32DBB652FD4F2C3@oh_daytn_xch01">news:FE8510398BFE854F9653B5C32DBB652FD4F2C3@oh_daytn_xch01... > Let me preface this request by saying that I know this request for help > isn't quite on-topic, but I haven't found any good places to ask for help on > this. Thank you for not flogging me with wet noodles. > > Now, on to the question: > We're having some problems relating to using MS SQL Server 2000 with a > JavaScript ASP page. (Like I said, seriously ot here.) > > We get a datetime value from the database, and need to format it. From what > I've been told by the others in the project, they've tried everything they > can think of to get the SQL Server datetime value stuffed into a JavaScript > Date object, but JavaScript doesn't seem to be willing to accept it. We're > currently parsing it out by hand, but the code to do so is fugly to say the > least. > > Anybody here know how to get around this? > > - Theo > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > begin 666 date.asp M/"5 3$%.1U5!1T4]2E-#4DE05"4^#0H\:'1M;#X-"CQH96%D/CQT:71L93Y* M4V-I<'0@1&%T92!%>&%M<&QE/"]T:71L93X\+VAE860^#0H\8F]D>3X-"CPE M#0H-"B\J0&-C7V]N0"HO#0IV87(@97)R;W(]9F%L<V4[#0IT<GD-"GL-"@EV M87(@<W%L0V]N;CU397)V97(N0W)E871E3V)J96-T*")!1$]$0BY#;VYN96-T M:6]N(BD-"@ES<6Q#;VYN+D]P96XH(D133CU,;V-A;%-E<G9E<CM5240]<V$[ M1$%404)!4T4]4%5"4R(I.PT*"79A<B!R<SUS<6Q#;VYN+D5X96-U=&4H(E-% M3$5#5"!#3TY615)4*'9A<F-H87(L1T541$%412@I+#$P,2DK)R G*T-/3E9% M4E0H=F%R8VAA<BQ'151$051%*"DL,3 X*2!!4R!43T1!62(I.PT*"79A<B!D M=%]S='(]<G,N1FEE;&1S*")43T1!62(I+E9A;'5E.PT*"5)E<W!O;G-E+E=R M:71E*"(\:#$^4V5R=F5R(%-I9&4@4W1U9F8@+BXN/"]H,3Y<;CQP/EQN/'!R M93XB*3L-"@EI9BA 7VIS8W)I<'1?=F5R<VEO;CT]0%]J<V-R:7!T7W9E<G-I M;VXI#0H)"5)E<W!O;G-E+E=R:71E*")*4V-R:7!T('9E<G-I;VX@:7,@(" @ M(" @(" @(" Z("(K0%]J<V-R:7!T7W9E<G-I;VXK(CQB<CY<;B(I.PT*"5)E M<W!O;G-E+E=R:71E*")4:&4@='EP92!O9B!R971U<FYE9"!F:65L9"!I<R Z M("<B*W1Y<&5O9BAD=%]S='(I*R(G/&)R/EQN(BD[#0H)4F5S<&]N<V4N5W)I M=&4H(E1H92!R971U<FYE9" @9FEE;&0@:7,@(" @(" @(#H@)R(K9'1?<W1R M*R(G/&)R/EQN(BD[#0H)=F%R(&1T7V]B:CUN97<@1&%T92AD=%]S='(I.PT* M"5)E<W!O;G-E+E=R:71E*")4:&4@;F5W($1A=&4H)R(K9'1?<W1R*R(G*2!I M<R Z("<B*V1T7V]B:BYT;TQO8V%L95-T<FEN9R@I*R(G/&)R/EQN(BD[#0H) M4F5S<&]N<V4N5W)I=&4H(CPO<')E/EQN/"]P/EQN(BD[#0H)<W%L0V]N;BY# M;&][EMAIL PROTECTED]*?0T*"6-A=&-H*&5R<BD-"@E[#0H)"65R<F]R/71R=64[#0H) M"5)E<W!O;G-E+D-L96%R*"D[#0H)"5)E<W!O;G-E+E=R:71E*")%<G)O<B Z M("(K97)R+F1E<V-R:7!T:6]N*3L-"@E]#0II9BAE<G)O<BD-"GL-"@E397-S M:6]N+D%B86YD;VXH*3L-"@E297-P;VYS92Y%;F0H*3L-"GT-"F5L<V4-"GL- M"B4^#0H\<#X\8G(^/"]P/@T*/&@Q/D-L:65N="!S:61E('-T=69F("XN+CPO M:#$^#0H\<#X-"CQP<F4^#0H\4T-225!4($Q!3D=504=%/4I30U))4%0^#0HO M*D!C8U]O;D J+PT*"79A<B!D=%]S='(](CPE/61T7W-T<B4^(CL-"@EV87(@ M9'1?;V)J/6YE=R!$871E*&1T7W-T<BD[#0H):68H0%]J<V-R:7!T7W9E<G-I M;VX]/4!?:G-C<FEP=%]V97)S:6]N*0T*"0ED;V-U;65N="YW<FET92@B2E-C M<FEP="!V97)S:6]N(&ES(" @(" @(" @(" @.B B*T!?:G-C<FEP=%]V97)S M:6]N*R(\8G(^7&XB*3L-"@ED;V-U;65N="YW<FET92@-"@D)(E1H92!N97<@ M1&%T92@G(BMD=%]S='(K(B<I(&ES(#H@)R(K#0H)"61T7V]B:BYT;TQO8V%L M95-T<FEN9R@I*PT*"0DB)SQB<CY<;B(I.PT*/"]30U))4%0^#0H\+W!R93X- D"CPO<#X-"CPE#0I]#0HE/@T*/"]B;V1Y/@T*/"]H=&UL/@T* ` end