[PHP] link to specific position on page

2005-02-23 Thread Johannes
. Is this possible to prevent somehow? I appreciate any help. Thanks. /Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] link to specific part of page

2005-02-23 Thread Johannes
position. Is this possible to prevent somehow? I appreciate any help. Thanks. /Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] link to specific pos in page

2005-02-23 Thread Johannes
position. Is this possible to prevent somehow? I appreciate any help. Thanks. /Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] link to specific position in page

2005-02-23 Thread Johannes
next problem is that every time you click a thumb and the page reloads you first see the upper part of the document flashing by before it scrolls to the correct position. Is it possible to prevent this? I appreciate any help. Thanks. /Johannes -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Can I check MYSQL version

2002-12-08 Thread Johannes Schlueter
On Sunday 08 December 2002 20:42, John Taylor-Johnston wrote: > Hi, > Can I check mysql version so if version >= 4 $sql = 'version 4 stuff' else > $sql ="version 3 stuff"; Try this SQL-Statement: SEELCT VERSION(); MySQL-Manual: http://www.mysql.com/doc/en/Miscel

[PHP] Typo -- Re: [PHP] Can I check MYSQL version

2002-12-08 Thread Johannes Schlueter
On Sunday 08 December 2002 20:40, Johannes Schlueter wrote: > SEELCT VERSION(); Should be SELECT VERSION() ;-) johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP_SELF Variable

2002-12-10 Thread Johannes Schlueter
On Tuesday 10 December 2002 12:36, info AT t-host.com wrote: > after successfully compiling and installing php.4.3-dev from tarball > ... > PHP_SELF has no value. How can I set this? Try using $_SERVER['PHP_SELF'] if it works look at the release notes and look for "reg

Re: [PHP] Can PHP do this...?

2002-12-11 Thread Johannes Schlueter
On Wednesday 11 December 2002 19:19, Ronald Clark wrote: Hi Ronald, hi List, it isn't > if ($_SERVER['!HTTPS']) { but if (!isset($_SERVER['HTTPS']) { // unsecure } else { //secure } You want to check wether the server variable HTTPS is set or not. johannes

Re: [PHP] real password value

2002-12-13 Thread Johannes Schlueter
user clicks on the link and has a _new_ password. johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Testing smtp server

2002-12-13 Thread Johannes Schlueter
ocket_connect ($socket, $address, $service_port); if ($result < 0) { echo "socket_connect() failed.\nReason: ($result) " . socket_strerror($result) . "\n"; } else { echo "OK.\n"; } johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Submitting a Form

2002-12-17 Thread Johannes Schlueter
from the > form, some debug variable I could "print()" to see everything that was > passed from the form? $_REQUEST johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Browser Language

2002-12-17 Thread Johannes Schlueter
On Tuesday 17 December 2002 18:51, Jeff wrote: > Does anybody know how to get what language (en, fr, it, etc.) the users > browser is using? Have a look at $_SERVER["HTTP_ACCEPT_LANGUAGE"] This are the languages the user likes to read. johannes -- PHP General Mailing List (ht

Re: [PHP] md5()

2002-12-23 Thread Johannes Schlueter
On Monday 23 December 2002 14:38, Edward Peloke wrote: > [...] Can I reverse md5()? No. You could only send the user a new password wich must be activated. johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forms

2002-12-23 Thread Johannes Schlueter
n see the settin of register_globals, too. johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with compilation from CVS

2002-12-25 Thread Johannes Schlueter
problem, what I made bad? Hi, are you sure you have all PHP-Files your PHP-Project needs? The error message tells you that your script trys to load ./libraries/grab_globals.lib.php at index.php, line 8, check wether the grab_globals.lib.php is reachable... johannes -- PHP General Mailing List (

Re: [PHP] using mail() with .info emails?

2002-12-29 Thread Johannes Schlueter
I get around this? Usually it should work. Maybe a spam-filter from your provider or sth. like that. What kind of error message do you recieve? johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem in $_SERVER["PHP_SELF"]

2003-01-02 Thread Johannes Schlueter
Either switch it on (bad) or start your scripts with $PHP_SELF = $_SERVER['PHP_SELF'] or replace all $PHP_SELF with $_SERVER['PHP_SELF']. If you don't know what register_globals is check the Manual! johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Johannes Schlueter
ned on in my php.ini file, but phpinfo() says it's turned > off. Have a look at "Configuration File (php.ini) Path" on the output of phpinfo() it tells you which ph.ini file is used. johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL help?

2003-01-12 Thread Johannes Schlueter
r: > mysql_close(); > if($number==0) But here you need it again: > {mysql_query("UPDATE users SET points = '$+2' WHERE 14 = '$0'"); > mysql_query("UPDATE users SET newtest = '$1' WHERE newtest = '$0'"); So remove the mysql

Re: [PHP] --without-mysl in configure command

2003-01-14 Thread Johannes Schlueter
-aq | grep php shows me that > php-mysql-4.0.6-7 is installed, maybe something to do with this. Yes, the last part is the imortant ;-) The PHP-MySQL-Extension was compile as shared extension. It is included in your php.ini file with a command sth. like extension=php_mysql.so johannes -- PHP Ge

Re: [PHP] --without-mysl in configure command

2003-01-14 Thread Johannes Schlueter
On Tuesday 14 January 2003 19:54, gamin wrote: > Thx Johannes for pointing this out. In the php.ini file i have Your welcome ;-) > extension=mysql.so Now i have another webserver running PHP where the > configure command has --with-mysql=shared. I guess this means the same > thing.

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Johannes Schlueter
REQUEST['submit']. > Thanks for helping me out on this cloudy saturday (in Amsterdam!) johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Switch statement || How to output html without using echo() or print()

2003-01-25 Thread Johannes Schlueter
On Saturday 25 January 2003 20:38, CF High wrote: > Each operation has @ 50 lines of html -- do I have to echo or print all > this html!? Try something like Hello johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MS Access

2003-01-28 Thread Johannes Schlueter
he lines 1-6? Sorry for the question, but my gem is broken... johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] if (a == b) ...

2003-01-29 Thread Johannes Schlueter
$a == (string) $b)) { ... The manual could be your friend, too: http://www.php.net/manual/en/language.types.type-juggling.php johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Compile Error

2003-01-30 Thread Johannes Schlueter
Are you sure you told the correct path: > --with-jpeg-dir=/usr/local/bin/ Try just /usr/local > --with-png-dir=/usr/lib > --with-zlib-dir=/usr/lib --with-zlib --enable-xslt --enable-cli > --disable-debug --with-xslt-sablot johannes -- PHP General Mailing List (http://www.php.net

Re: [PHP] Help with classes (oop)

2003-02-03 Thread Johannes Schlueter
his->age = $age; $this->name = $name; } johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Including images with mail() or pear mail

2003-02-06 Thread Johannes Schlueter
Best: Don't use images in a mail ;-) (just my opinion...) johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] processing files

2003-02-06 Thread Johannes Schlueter
o your httpd.conf, .htacces file to tell apache to parse all files ending .xyz using PHP johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Print_r bug?

2003-02-12 Thread Johannes Schlueter
ing this is a bug that should be reported? No, thats no bug. $GLOBALS includes $GLOBALS which include $GLOBALS Use var_dump for $GLOBALS instead ;-) johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] too stupid to install php on windows

2003-07-10 Thread Johannes Reichardt
errormessage output? thanks in advance, - Johannes Mit freundlichen Grüssen |*| |*| [Johannes Reichardt] |*| |*| Webaddict +49172/3895500 |*| gramba.net:typorized.com |*| -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Re: Hi

2003-07-22 Thread Johannes Reichardt
ok you made me visit your ugly site now - so whats your problem? you can submit variables via flash to any script you want, so this should be a good start. > -Original Message- > From: Paul Chvostek [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 22. Juli 2003 22:48 > To: [EMAIL PROTECTED]

[PHP] Read website with

2003-06-10 Thread Johannes Reichardt
Hi All! I have a small problem with reading a file via crontab. For better performance i read a dynamic php page every hour, so the actual page is static with better performance. Actually there is some

[PHP] preg_match ;)

2003-06-10 Thread Johannes Reichardt
: preg_match("/(:)?([^&]+)/i", $value, $matches); i tried many variations of this version, but all failed someone who could enligthen me? Mit freundlichen Grüssen |*| |*| [Johannes Reichardt] |*| |*| Webaddict

[PHP] mail() without subjects and froms

2003-06-20 Thread Johannes Reichardt
. does someone know the reason for such "empty subject" mails? - Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Undefined variable

2002-10-09 Thread Johannes Janson
Hi, Muhammad Khairuzzaman wrote: > Hi, thanks for the help! > > I worked, but i dont get it, why use $_POST['name'] or $_GET['name'] when > the text from the internet and books I've read says just put a dollar sign > before the variable's name. from php version 4.?.x on register_globals is turn

[PHP] Re: Multiple Form Submit Buttons

2002-10-11 Thread Johannes Janson
it1, submit2 ... and then do what you want with an if clause and $_POST["submit1"] on the action page. hope it helps Johannes > > -- > JR > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] findin colors in gif files

2002-06-04 Thread johannes reichardt
hi everybody, i am new to this list & php and i have a big question that i would love to be answered ;) i have a small gif file that has a part in #ff3366 colored - so what i thought is to do a mean hack for my website: instead of opening all images in a graphicseditor and change the color manual

[PHP] finding colors in gif files

2002-06-04 Thread johannes reichardt
sorry- last mail i forgot the gif file, here it is though: also the complete code i got so far: "; $filetext1 = implode("",(@file("vcd_1.gif"))); // $filetext1 = bin2hex($filetext1); $newfiletext1 = ""; for ($i = 0; $i < strlen($filetext1); $i++) { $currchar = substr($filetext1, $i, 8); $newfi

[PHP] matrix functions

2002-06-10 Thread johannes reichardt
hi list, i have a question regarding a class for matrix modifications so i dont have to re-invent the wheel ;) i would like to do things like this: matrix with 5*5 colums/rows x x x x x 0 0 0 0 0 x x x x x x x x x x x x x x x x x x x x x x x x x 0 0 0 0 0 x x x x x x x x x x maybe that

Re: [PHP] Array...

2001-01-15 Thread Johannes Janson
> for ($i=100; $i>0; $i++) shouldn't it be $i--? this loop would run forever... > print "\n"; > > But, I presume you would rather do this: > for ($i=100; $i>0; $i++) > print "\n"; > > because I can't imagine why you would want to escape double quotes in > HTML. > > Jeremy > > Jeremy Brand ::

Re: [PHP] Basic SQL syntax

2001-01-15 Thread Johannes Janson
try this: $sql = "SELECT * FROM table WHERE town LIKE '%$search_data%' "; if ($reference != "") $sql .= "OR whatever"; ""James, Yz"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 93vs2p$cng$[EMAIL PROTECTED]">news:93vs2p$cng$[EMAIL PROTECTED]... > OK, I got a simple search page working (thanks

Re: [PHP] Basic SQL syntax

2001-01-15 Thread Johannes Janson
> Ah, so you can constantiate (right word?) the query? I don't know what you mean by 'constantiate', but glad to hear it worked otis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Session problems

2001-01-23 Thread Johannes Janson
you have to set the 'session.save_path' in your php.ini. be careful with the slashes you use. as you can see from the error msg by default it's '/' but windows uses '\'. good luck Johannes "Jimmy Bäckström" <[EMAIL PROTECTED]> schrieb im News

Re: [PHP] Session problems

2001-01-24 Thread Johannes Janson
eload this page to see it increment"; } else { echo "Waking up session $PHPSESSID"; $SESSION["count"]++; } echo "The counter is now $SESSION[count] "; ?> johannes "Jimmy Bäckström" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 0

[PHP] Link to a html in PHP Code

2001-04-16 Thread Johannes Rumpf
Hi! I'm a pretty newby, so I have a question: How can I make a link to html or php or any other page in the internet in my PHP code? should be like Command ( "Http://www.xyz.com") Just like a link in a html site would be clicked. Thanx, greetings from austria,

Re: [PHP] Mail help!!!!!

2001-04-17 Thread Johannes Janson
Hi, I think you can put more than one recipient into the mail-function by seperating them with a ",". Look in the manual for detailed info. Johannes "Bruno Freire" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 454D444FF5C0D211891800A0C98

Re: [PHP] HTML and slashes.

2001-04-17 Thread Johannes Janson
Hi, there is NO way of hiding the html from the user. the browser can't output otherwise. You can only try to make it difficult to get the source. Where does the " 's " problem come in? More detail plz. Is it a part of a text? Then try htmlspecialchars() or htmle

Re: [PHP] HTML and slashes.

2001-04-17 Thread Johannes Janson
use srtipslashes() before writing it to the file. Johannes ""Dddogbruce (@home.com)"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > there is NO way of hiding the html from the user. > > the browser can&#x

Re: [PHP] Connection to postgresql DB used by 2 scripts ?

2001-04-18 Thread Johannes Janson
Hi, put: include("connect.php"); at the beginning of query.php. Johannes ""Picard, Cyril"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to query a postgresql db with the php language

Re: [PHP] Cannot destroy session cookie

2001-04-18 Thread Johannes Janson
Hi, Why destroying it "before" a user logs in? Isn't it better to start the session "after" a successful login? And then destroying the session when the user logs out. Or did I get it wrong. A few lines of code would help to understand. Johannes "Jens Kisters&q

Re: [PHP] HTTP_POST_VARS variable names?

2001-04-18 Thread Johannes Janson
Hi, this will list all your posted variables with name and the posted value. while (list($key, $value)=each($HTTP_POST_VARS) ) { echo "$key = $value "; } Johannes ""Mat Marlow"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9bk11q$dvq$[EMAI

Re: [PHP] Cannot destroy session cookie

2001-04-18 Thread Johannes Janson
. cheers Johannes -- Grüße aus dem schönen Tübingen Johannes Janson ;) "Jens Kisters" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why destroying it "before" a user logs in? Isn't it In case the user did not log out p

Re: [PHP] Characters counting

2001-04-18 Thread Johannes Janson
Hi, to get the first 150 chars of a mysql filed do this: SELECT LEFT(YourField, '150') FROM YourTable WHERE YourCondition=true; This does it in MySQL and for PHP follow the mentioned substr-method. cheers Johannes ""Jorn van Eck"" <[EMAIL PROTECTED]> schr

Re: [PHP] I don't get it ... suddenly my script doesn't work ...

2001-04-21 Thread Johannes Janson
)). hope it helps Johannes -- PHP General 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]

Re: [PHP] insert into

2001-04-24 Thread Johannes Janson
7;, '$country', '$details', '$type')"); for tutorial look at www.devshed.com www.phpbuilder.com www.webmonkey.com www.hotscripts.com just do a search on PHP and MySQL. Cheers johannes -- PHP General 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]

Re: [PHP] how to get var value

2001-04-26 Thread Johannes Janson
hi, by .= you assign the value to a var in this case a string. $test = 1; $var = "test"; $newvar = $$var; echo $newvar; // outputs "1" Johannes "AJDIN BRANDIC" <[EMAIL PROTECTED]> schrieb im Newsbeitrag Pine.OSF.3.91.1010426114338.

[PHP] localhost with $REMOTE ADDR

2001-04-28 Thread Johannes Rumpf
a webserver, not on my PC. Thanxalot, Greetings, Johannes Rumpf -- PHP General 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] sorting filenames using opendir and readdir

2001-04-28 Thread Johannes Rumpf
Hi! I wanted to get a txt files in a dircetory, I wrote the script using opendir and readdir functions. But now I would like to sort the files while I read them in. how could I solve this problem? Greetings, Johannes Rumpf -- PHP General Mailing List (http://www.php.net

Re: [PHP] Opening a page in the same window

2001-04-29 Thread Johannes Rumpf
ou want Greetings from Austria, Johannes Rumpf -- PHP General 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]

Re: [PHP] very basic question, needs direction!

2001-05-03 Thread Johannes Janson
Hi, have a look at this article: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ it describes the setup of Apache, PHP, SSL and MySQL. Johannes "Web master" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, &g

[PHP] function not working after header call

2001-05-08 Thread Johannes Janson
Hi, I just don't get it...I have a form where the user enters name, surname and a personal code. The action page checks for correct input which is only letters for the two names and only numbers for the code. If there is a wrong input in one of the fields a variable is set which is then (amongst

Re: [PHP] function not working after header call

2001-05-08 Thread Johannes Janson
Well, what can I say??? Magic windows Reboot the system or post a message and it works! johannes ""Johannes Janson"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9d93c3$7d8$[EMAIL PROTECTED]">news:9d93c3$7d8$[EMAIL PROTECTED]... > Hi, > > I just

Re: [PHP] update statement

2001-05-11 Thread Johannes Janson
ormal/ and http://www.devshed.com/Server_Side/MySQL/Normal2/ hope it helps Johannes -- PHP General 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]

Re: [PHP] Update statement sent by PHP to MySQL

2001-05-11 Thread Johannes Janson
$result) { send the haeder... } hope it helps Johannes -- PHP General 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] time getdate GMT

2001-05-14 Thread Johannes Schmiderer
Hi, I'm new to PHP. I want to have the GMT Time in extra values (for instance a array with year, mon, day, hour, ) The best way I've found is: $idtGMTime = time() - date("Z"); $aGMTime = getdate($idtGMTime); Any other suggestions? Why isn't there a function like getgmdate() (as gmtime()

Re: [PHP] Php Newbie

2001-05-14 Thread Johannes Janson
wonder which one to use isapi or CGI I'd say for home developement it doesn't matter. CGI is said to be more stable but I had no problem with the isapi module with IIS. But anyway give it a thought to get Apache. To test your installation just use your helloworld or create a file with in

Re: [PHP] Extensions for PHP

2001-05-15 Thread Johannes Janson
Hi, > does anybody know which extension I need to connect to a MSSQL DB, and wher > I could get it? go to www.php4win.de they offer a .exe with lots of extensions. hope it helps Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] Install Prob PHP4

2001-05-15 Thread Johannes Janson
get more errors. hope it helps Johannes -- PHP General 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] nested functions

2001-05-15 Thread Johannes Schmiderer
Is there no way to access the $x within the inner function: function outer() { $x = 50; function inner() { echo $x; } inner(); } Global in the inner function does not work. I do not want to have $x global for all. Hannes Schmiderer -- PHP General Mailing List (http://www.p

Re: [PHP] Does anyone know where I can get mcrypt.dll?

2001-05-16 Thread Johannes Janson
Hi, > Does anyone know where I can get mcrypt.dll? I'm not sure but it might be included in the dist from www.php4win.de johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP] fopen and UNC filename

2002-02-20 Thread Johannes Müller
I tried to fopen("\\machine\share\file.txt","w") on w2k iis 5.0 with PHP 4.1.0 and I got fopen invalid argument error. I know, that UNC filenames are supported since PHP 4.0.6. I tried variants with machine\\share\\file.txt, ... but the error was the same. TIA Jo -- PHP General Mailing

[PHP] newbie question about odbc_connect

2001-11-13 Thread Johannes Ambrose
lt in.) Is there an include file somewhere that I need to specifiy? regards -- Johannes Ambrose Computer Systems Manager School of Life Sciences University of Queensland, Brisbane Australia ph: 07 3365 4826 fax:3365 1655 mob: 0401 714 835 -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] just a newbie in php, don't get mad

2001-03-26 Thread Johannes Janson
Hi, get an editor which suits your needs and demands, a server and (if needed somr database app) and just do it by trial and error. tutorials on php: www.phpbuilder.com www.webmonkey.com www.devshed.com feed any search engine with "php tutorials" and find more. good luck Johannes p

Re: [PHP] form and php

2001-03-27 Thread Johannes Janson
Hi, i'm sorry but I don't quite get what you mean. Which button is pressed. or post the code. Johannes "Augusto Cesar Castoldi" <[EMAIL PROTECTED]> schrieb im Newsbeitrag Pine.GSO.4.10.10103271417160.12546-10@venus">news:Pine.GSO.4.10.10103271417160.12

Re: [PHP] Simple If-else statement

2001-03-27 Thread Johannes Janson
Hi, if ($name == " ") { checks for a space in $name. "empty" is either if (§name == "") without a free space between "" or you could do it with empty($mane) if (empty($name)) is true if it is empty (who would have thought this?) Johannes "

Re: [PHP] Simple If-else statement

2001-03-27 Thread Johannes Janson
Hi Louis, you cuold try it with if (empty($fname)) { redirect... just check again that your form is ok. Johannes "Louis Brooks" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for everyone's response. I am

Re: [PHP] POP mail delete

2001-03-27 Thread Johannes Janson
Hi, i'm not that much into mail functions but my manual tells me that impa_delete selects a message to be deleted. imp_expunge delets all selected messages. look into the correct syntax Johannes "Miguel Carvalho" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PR

Re: [PHP] Simple If-else statement - Fixed

2001-03-27 Thread Johannes Janson
Hi, for the haeder just make sure that there is NO output whatsoever before the header-call. even if line 1 of your script is empty before the schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for all the help. I finally got it to work. I ended up using a bunch > of if

Re: [PHP] Match em up

2001-03-29 Thread Johannes Janson
Hi, SELECT a.list FROM db1 a, db2 b WHERE a.email!=b.email; this shoulds work Johannes <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I have two database`s with one table in each. (MySQL) > > Is there a way th

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread Johannes Janson
Hi, this is the regular expression from a PHP book. ereg("^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-z]{2,3})$, $formfield"); looks horrible but works. "Sharat Hegde" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 30402B4CB8C7D311A3C600C04F1513BC3BDAE4@bg2ipmail">news:30402B4CB8C7D

Re: [PHP] What variable are being sent to my script?

2001-04-13 Thread Johannes Janson
mp;var2=asdf > > that above would be $var1 and $var2 > if it is a form with post as method you can use this script to see all submitted vars: while (list($key, $value)=each($HTTP_POST_VARS) ) { echo "$key = $value "; } Johannes -- PHP General Mailing List (http://www.p

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Johannes Janson
d.com/Server_Side/PHP/SoothinglySeamless/ covers the installation of PHP, Apache, MySQL and SSL. good luck Johannes "Peter Van Dijck" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Apologies if this is off topic, and apologies for

[PHP] migration issue - is this a FAQ?

2001-07-05 Thread Johannes Ambrose
e 299 simply calls the mysql_list_tables($db) function. PHPmyadmin is logging in to mysql as the root user, so I'm not sure where the problem lies. Any clues? regards -- Johannes Ambrose Computer Systems Manager School of Life Sciences University of Queensland, Brisbane Australia ph: 04

[PHP] Re: migration issue - is this a FAQ?

2001-07-05 Thread Johannes Ambrose
Not a FAQ but a FOQ (f**n obvious question). I forgort to change the group and owner to mysql when I copied the data across. -- Johannes Ambrose Computer Systems Manager School of Life Sciences University of Queensland, Brisbane Australia ph: 0401 714 835 -- PHP General Mailing List (http

[PHP] Re: http header

2001-07-10 Thread Johannes Janson
> predefined variables for more info. cheers Johannes -- PHP General 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] Information about FastTemplate, PHPlib and making big sites.

2001-07-17 Thread Schill, Johannes
, filestructures etc. Right now I don't even know what a file containing classes should be named, i've seen such files with .php, .inc, .obj and .object as extension. Thanks! Best regards, Johannes Schill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

Re: [PHP] a good PHP editor

2001-07-18 Thread Schill, Johannes
o grab from www.allaire.com or www.macromedia.com I hope this helps. Best regards, Johannes Schill - Original Message - From: "doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 18, 2001 8:16 PM Subject: [PHP] a good PHP editor > Hiya everybo

Re: [PHP] a good PHP editor

2001-07-18 Thread Schill, Johannes
> So sprach »Schill, Johannes« am 2001-07-18 18.07.2001 um 22:24:21 +0200 : > > I haven't seen any other programs for Windows you can edit remote files > > instead of the usual "download, edit, upload". Let me know if there are > > How does that work? Is it

Re: [PHP] Big difference?

2001-07-25 Thread Schill, Johannes
Hello Kyle, The difference between echo and print is that print returns a boolean value, so you can check if "blah blah" was successfully printed. more info about this: www.php.net/print www.php.net/echo Best regards, Johannes Schill - Original Message - From: "Kyle

[PHP] Re: Form help

2001-08-13 Thread Johannes Janson
y key in $value; } cheers Johannes -- PHP General 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] Re: numrows

2001-08-23 Thread Johannes Janson
Hi, >$query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id DESC"; > >$result = MYSQL_QUERY($query); add "or die(mysql_error())" see what MySQL doesn't like about the query. cheers johannes -- PHP General Mail

[PHP] PHP 5.3.0beta1

2009-01-29 Thread Johannes Schlüter
Hi, we have packaged PHP 5.3.0beta1. Source tarballs can be found at http://downloads.php.net/johannes/php-5.3.0beta1.tar.bz2 ac16e56bf6a4b37ff35d9bc061063a9 http://downloads.php.net/johannes/php-5.3.0beta1.tar.gz 71c6c06087cfa9c38567b050d00bcabf Windows binary builds on http

[PHP] Re: PHP 5.3.0RC1

2009-03-24 Thread Johannes Mueller
Lukas Kahwe Smith wrote: Windows binaries are available here: http://windows.php.net/qa/ The .ini files in the 5.3RC1-VC6-nts-package are empty. Can someone fix this? thanks for your hard work Johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] PHP 5.3.0RC2

2009-05-07 Thread Johannes Schlüter
Hello! we have packaged PHP 5.3.0RC2, which you can find here: http://downloads.php.net/johannes/ Windows binaries are available here: http://windows.php.net/qa/ This second release candidate focused on bug fixes and stability improvements and we hope to only require minimal changes ahead of

[PHP] PHP 5.3.0RC3

2009-06-11 Thread Johannes Schlüter
Hello! we have packaged PHP 5.3.0RC3, which you can find here: http://downloads.php.net/johannes/ Windows binaries are available here: http://windows.php.net/qa/ This third release candidate focused on bug fixes and stability improvements and we hope to only require minimal changes ahead of the

[PHP] PHP 5.3.0RC4

2009-06-18 Thread Johannes Schlüter
Hello! we have packaged PHP 5.3.0RC4, which you can find here: http://downloads.php.net/johannes/ Windows binaries are available here: http://windows.php.net/qa/ This fourth release candidate focused on bug fixes and stability improvements and we hope to only require minimal changes ahead of

[PHP] RE: [PHP-DEV] PHP 5.3.0RC4

2009-06-20 Thread Johannes Schlüter
`stmt' Which MySQL client libraries are you using? Looks like 4.0 or older. I'll check whether I can fix those, while MySQL 4.1 was released in 2004 and MySQL's active support for 4.0 ended 2006, which means it's rather old software... johannes -- PHP General Mailing List (ht

[PHP] Re: Chocked

2006-12-28 Thread Johannes Lindenbaum
first.class.php it would output / You would then have to include your second class (inside the first.class.php - correct?) as: include("./classes/second.class.php") to make it a "correct" include without PHP having to search the directories for the include. Give that

[PHP] Proposed 5.3.1 Release announcement

2009-11-19 Thread Johannes Schlüter
3292, Ilia) - Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (CVE-2009-3557, Rasmus) - Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (CVE-2009-3558, Rasmus) - Fixed bug #50063 (safe_mode_include_dir fails). (CVE-2009-3559,

  1   2   >