Re: [PHP] rows by day

2003-06-15 Thread Sebastian
the database has the timestamp in unix format, so this is what i use for 'dayofweek_column' ? what should $old_dayofweek hold? thankyou. cheers, - Sebastian - Original Message - From: John W. Holmes [EMAIL PROTECTED] | John W. Holmes: | | You only need one query. One of your columns

Re: [PHP] rows by day

2003-06-15 Thread Sebastian
$row[title] br/ Written by $row[author] br/ $row[text]; } cheers, - Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] counting words.

2003-04-06 Thread Sebastian
], array_flip(get_html_translation_table(HTML_ENTITIES; $wordcount = preg_match_all(#(\w+)#, $row[12], $match_dummy); if($wordcount == 0) { $count =; } else { $count = preg_match_all(#(\w+)#, $row[12], $match_dummy); } cheers, - Sebastian

Re: [PHP] combining text with $_POST

2003-04-05 Thread Sebastian
you also really don't need single quotes in the $_POST... echo Name: $_POST[name]; .. should work. cheers, - Sebastian - Original Message - From: Don Read [EMAIL PROTECTED] | | On 06-Apr-2003 David McGlone wrote: | Hi all, how can I combine this line to use just 1 echo statement

Re: [PHP] Great Opportunity for all group members!!!

2003-04-05 Thread Sebastian
hehe. i should get me one of those ;) cheers, - Sebastian - Original Message - From: Matt Giddings [EMAIL PROTECTED] | ?php | | $user = Chinmoy Barua [mailto:[EMAIL PROTECTED]; | | function spam-o-meter( $sender ) { | return( is_real($sender) ? 'not spam' : 'spam

[PHP] no worky :|

2003-04-03 Thread Sebastian
[HTTP_REFERER]\return to your previous page/a./center; } } cheers, - Sebastian

Re: [PHP] no worky :|

2003-04-03 Thread Sebastian
thanks for pointing that out yeah, you're right it was wrong, should be UPDATE news_comments SET WHERE ... since there was already a row. ... still can't get it to post to the database though. cheers, - Sebastian - Original Message - From: Jennifer Goodie [EMAIL PROTECTED

Re: [PHP] no worky :|

2003-04-03 Thread Sebastian
ugh, just when you posted that I got it figured it out! I needed a hidden value like you said! input type=\hidden\ name=\comment\ value=\$_GET[comment]\ Thanks! cheers, - Sebastian - Original Message - From: Hugh Danaher [EMAIL PROTECTED] To: Sebastian [EMAIL PROTECTED] Sent: Thursday

Re: [PHP] no worky :|

2003-04-03 Thread Sebastian
haha, good one! Funny, I have a bad habbit of using ugh. cheers, - Sebastian - Original Message - From: Hugh Danaher [EMAIL PROTECTED] | The name's not ugh it's Hugh ; ) | - Original Message - | From: Sebastian [EMAIL PROTECTED] | ugh, just when you posted that I got

[PHP] Re: *****SPAM***** [PHP] REPLY NEEDED *****SPAM*****

2003-04-03 Thread Sebastian
can you not yell?! - Original Message - From: PATRICK KOFI [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 04, 2003 5:28 AM Subject: *SPAM* [PHP] REPLY NEEDED *SPAM* | SPAM: Start SpamAssassin results -- | SPAM: This

Re: [PHP] RE: newbie Dynamic Drop down lists using mysql

2003-04-03 Thread Sebastian
value=\$row[0]\$row[0]; } echo /selectinput type=\submit\ value=\submit\/form; cheers, - Sebastian -Original Message- From: Bobby Rahman [mailto:[EMAIL PROTECTED] | Hiya | | Im looking for any tutorials/snippets of code to show me how | to code a | dynamic drop down box

Re: [PHP] datetime

2003-04-03 Thread Sebastian
$date = date(Y-m-d g:i:s, $date); echo $date; cheers, - Sebastian -Original Message- From: Tim Haskins [mailto:[EMAIL PROTECTED] How does one retrieve the date and time off a server in the following format? 2003-04-03 11:11:38 -- PHP General Mailing List (http://www.php.net

Re: [PHP] timestamp from uniqid()

2003-04-02 Thread Sebastian
may i ask what is it that your trying to do? Why not use time(); ? cheers, Sebastian - Original Message - From: nooper [EMAIL PROTECTED] | Would there be a way to extract a timestamp from uniqid(), since the | function is based on the microsecond, and its purpose is not to be random

Re: [PHP] newbie2

2003-04-02 Thread Sebastian
fatal error? What gave you this? Enabling it might not be a good idea, for security. .. but if you want to enable it you have to editing the php.ini and set register_globals to ON. cheers, - Sebastian - Original Message - From: Ilyas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] Making it so the .php isn't needed

2003-04-02 Thread Sebastian
Hello, read this: http://php.benscom.com/manual/en/security.hiding.php :) cheers, - Sebastian - Original Message - From: Teren Sapp [EMAIL PROTECTED] Hi, I had it setup on my server before i reloaded it, but what i need to have happen is so that when i'm passing variables to a php

Re: [PHP] Making it so the .php isn't needed

2003-04-02 Thread Sebastian
yeah pretty cool, there are no limits on what you can do. cheers, - Sebastian - Original Message - From: daniel [EMAIL PROTECTED] | this is funny , you could have any extension u like say , i'm a synth freak , | i luv the word 303 so on some of my musik pages i have pages called

Re: [PHP] chill out

2003-04-02 Thread Sebastian
for a list that is not moderated i think it's doing quite well. this isn't a service so you get what you pay for ;) cheers, - Sebastian - Original Message - From: [EMAIL PROTECTED] | We subscribe to a few email lists on various languages. | | This list would have to be the worst

Re: [PHP] php.ini not being used?

2003-04-02 Thread Sebastian
at the bash prompt type where is php.ini and it will tell you exactly where it's at. cheers, - Sebastian - Original Message - From: Justin French [EMAIL PROTECTED] | Hi, | | I can't believe I've never bothered to learn this stuff, so I apologise for | being totally dumb in advance :P

[PHP] getimagesize

2003-04-01 Thread Sebastian
] = 1024) { $img_width = 1024; } else { $img_width = *; } // rest of the script to resize... so an i doing it the proper way of getting $form_data? cheers, - Sebastian

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
What? the ACCEPT? yes it can be done :) http://www.w3.org/TR/REC-html32.html#rfc1867 cheers, - Sebastian - Original Message - From: daniel [EMAIL PROTECTED] | wow wots this | | INPUT maxLength=128 name=image type=file ACCEPT=image/jpeg, image/jpg | | this is a first i never knew you

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
no it doesn't work, it returns this: Warning: getimagesize(Array) so its not getting the image from the form hmmm cheers, - Sebastian - Original Message - From: daniel [EMAIL PROTECTED] | well does this not work ? $imagewidth = getimagesize($_FILES['image']); | | and i already have

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
nope, still get Warning: getimagesize(Array) i've tried everything and it just doesn't get the form data :| cheers, - Sebastian - Original Message - From: daniel [EMAIL PROTECTED] | try removing that mime check , and put this to lower case encType | try INPUT name=image type=file

Re: [PHP] getimagesize

2003-04-01 Thread Sebastian
php 4.3.1. I got it working, this is what i had to use: $imagewidth = getimagesize($_FILES [image][tmp_name]); if($imagewidth[0] = 1042) { $img_width = 1024; } else { $img_width = *; } i guess i had to add the tmp_name :) Thanks for the help. cheers, - Sebastian - Original Message

Re: [PHP] Wierd PHP Image

2003-04-01 Thread Sebastian
sorry what is Thies?, I have this too in my phpinfo... do i need it? Should i get rid of it? It started to appear when I complied GD Library with mcrypt support. cheers, - Sebastian - Original Message - From: Don Read [EMAIL PROTECTED] | | On 02-Apr-2003 Ben Lake wrote: | Might anyone

Re: [PHP] Wierd PHP Image

2003-04-01 Thread Sebastian
well, its not much of a joke .. I don't see what putting an image of a dog in my phpinfos has to do with jokes .. a pretty stupid one nonetheless.. cheers, - Sebastian - Original Message - From: Jason k Larson [EMAIL PROTECTED] | I hope you all can take a joke, cause this is just

[PHP] global var.

2003-03-31 Thread Sebastian
so it passes to the top $variable? first time i ever ran into this problem. Thanks in advanced. cheers, - Sebastian

Re: [PHP] global var.

2003-03-31 Thread Sebastian
blah.); $id = mysql_insert_id(); cheers, Sebastian - Original Message - From: Marcus Rasmussen [EMAIL PROTECTED] Putting an sign in front of the $id in the first line should do the trick: $variable = $id; A short example: $bar = 0; $foo = $bar; $bar = 2; print $foo; //prints 2

Re: [PHP] Parsing CSS files

2003-03-30 Thread Sebastian
if you have cpanel you can add the extension from there. cheers, - Sebastian - Original Message - From: Liam Gibbs [EMAIL PROTECTED] Is there any way of making PHP parse files with a CSS extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] url rewrite

2003-03-28 Thread Sebastian
hello, i am not sure where to post this question, since it's partly related to PHP, so i'll ask here. I'd like to rewrite a url that looks like this: /news/articles/article.php?id=255 into /news/articles/255/ any help is appreciated. cheers, - Sebastian

Re: [PHP] url rewrite

2003-03-28 Thread Sebastian
if that were the case I wouldn't have asked here.. perhaps i didn't find the answer at google or the archives. - Original Message - From: Jason Wong [EMAIL PROTECTED] Ask google or ask the archives. | On Friday 28 March 2003 16:38, Sebastian wrote: | | i am not sure where to post

Re: [PHP] referer

2003-03-28 Thread Sebastian
try: $_SERVER['HTTP_REFERER']; cheers, - Sebastian - Original Message - From: Mat Harris [EMAIL PROTECTED] | am i going mad or something? | i want to use the referer string from the server vars, but the | $_SERVER[REFERER] and $HTTP_SERVER_VARS[REFERER] vars are empty | and the phpinfo

[PHP] possible?

2003-03-28 Thread Sebastian
resizing them such as: image.php?id=1width=300 is that possible? If so, please let me know how. Thanks in advanced. cheers, Sebastian ?php $conn = mysql_connect(host, root, pass) OR DIE (mysql_error()); @mysql_select_db(images, $conn) OR DIE (mysql_error()); $sql = (SELECT * FROM images

[PHP] register globals :|

2003-03-26 Thread Sebastian
, - Sebastian

Re: [PHP] register globals :|

2003-03-26 Thread Sebastian
Hmm .. might be easier to use an .htaccess. Is it possible to enable Register Global just for the script and not the site? I heard it's possible to enable it on just one directory (where the script resides). cheers, - Sebastian - Original Message - From: Leif K-Brooks [EMAIL PROTECTED

Re: [PHP] counting ..

2003-03-25 Thread Sebastian
because my comment system is pretty much like forum style, sometimes a user referrers to another comment by it's number, etc... .. and because i want to ;) cheers, - Sebastian - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] | Why do you think comment needs a number

Re: [PHP] count up from 7

2003-03-24 Thread Sebastian
not sure if this is what you're looking for: if ( $var 7 ) { // do stuff } - cheers, Sebastian - Original Message - From: Richard Whitney [EMAIL PROTECTED] | Braindead! | | I need to evaluate a number if greater than 7 and add a value per increment. | I'm frazzled and can't think

[PHP] counting ..

2003-03-24 Thread Sebastian
, LoL. So i have to use $_GET right? If so can someone give me an example. Thanks in advanced. cheers, - Sebastian

Re: [PHP] counting ..

2003-03-24 Thread Sebastian
I Have made my own pagination script, but i am trying give each comment isn't own number. Which i already did, but when i view the next results it starts counting from 1 again. cheers, Sebastian - Original Message - From: Nikunj Virani [EMAIL PROTECTED] | Check out: | http

Re: [PHP] Increase a month

2003-03-21 Thread Sebastian
. Note: strtotime() does the math, thats why it doesn't work, or at least thats what i think is happening. cheers, - Sebastian -Original Message- From: shaun [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 4:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Increase a month Hi, could

[PHP] md5 cookies

2003-03-21 Thread Sebastian
hello all, Cookie noob here :s how do I add md5 hash so it encrypts the password only in the cookie? and how do I increase the expire time to 30 days? Here's the snip: setcookie(pass,$HTTP_POST_VARS[password],time()+(3600*24*7)); Thanks in advanced. cheers, - Sebastian

Re: [PHP] Test the server.

2003-03-21 Thread Sebastian
put this in a .php file: ?php phpinfo(); ? it'll tell you what OS, (usually) check if safe mode is on.. if it's on then usually you can't exec anything. cheers, - Sebastian - Original Message - From: Vincent M. [EMAIL PROTECTED] | Hello, | | Is there anyway to check these two things

Re: [PHP] Wrapping text output

2003-03-21 Thread Sebastian
, - Sebastian - Original Message - From: Philip J. Newman [EMAIL PROTECTED] | $my_data = This is a really long string that could go on for ever and ever | and ever and ever and ever and ever and ever and ever and ever and ever and | ever and ever and ever and don't wrap to my table it makes

[PHP] echo

2003-03-20 Thread Sebastian
hello all, is it possible to delay an echo say by 5 seconds after the page loads? cheers, - Sebastian

Re: [PHP] echo

2003-03-20 Thread Sebastian
php has a wait function? I didn't know that... But i get: Fatal error: Call to undefined function: wait() I just want to delay some text from loading too quick. i am sure is can be done in java but i don't have any experience in it :s cheers, - Sebastian - Original Message - From

Re: [PHP] echo

2003-03-20 Thread Sebastian
thank you. now we're talking, Works great :) cheers, - Sebastian - Original Message - From: Martin Towell [EMAIL PROTECTED] | sorry - sleep(5); | | -Original Message- | From: Sebastian [mailto:[EMAIL PROTECTED] | | php has a wait function? I didn't know that... But i get

[PHP] Breadcrumbs help

2003-03-19 Thread Sebastian
]); //Uppercase letters } $locationHref .= / . $locationArray[$i]; echo nbsp;braquo;/bnbsp;a href=\$locationHref\$locationText/a; } echo \n; } LocatorLine() ? cheers, - Sebastian

Re: [PHP] Breadcrumbs help

2003-03-19 Thread Sebastian
well, the problem with that is most of my files are called 'index.php' cheers, - Sebastian - Original Message - From: Diego Fulgueira [EMAIL PROTECTED] | Sebastian wrote: | hello all. | | this code creates dynamic breadcrumbs, ie: home site nav community | | I am having a bit

Re: [PHP] script conflicts

2003-03-18 Thread Sebastian
() function anywhere in your code. | | Sebastian wrote: | | i have two scripts included into one page, one of them i have been running | for a long time .. i recently made another script and when i include it into | the same page the other script returns this error: | | Warning: mysql_fetch_row

[PHP] php to perl

2003-03-18 Thread Sebastian
, - Sebastian

Re: [PHP] LIsting all the Members who have not loged in for 60 days ...

2003-03-18 Thread Sebastian
you can use strtotime() example, this will subtract 60 days from the variable you assign to it, in this case it'll subtract it from $lastDate and go from there. strtotime(-60 days); http://www.php.net/manual/en/function.strtotime.php cheers, - Sebastian - Original Message - From

[PHP] How safe?

2003-03-17 Thread Sebastian
= true; // access granted } } // access not granted if ( !$auth ) { header( WWW-Authenticate: Basic realm=\$realm\ ); header( HTTP/1.0 401 Unauthorized ); echo 'bAuthorization Required - Access Denied!/b'; exit; } ? cheers, - Sebastian

[PHP] script conflicts

2003-03-17 Thread Sebastian
i have two scripts included into one page, one of them i have been running for a long time .. i recently made another script and when i include it into the same page the other script returns this error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in

[PHP] fopen

2003-03-16 Thread Sebastian
/mappics/$mapname.jpg'/a; } else { $mappic = img border=\0\ src='/images/noimage.gif'; } @fclose ( $fp ); echo $mappic; cheers, - Sebastian

Re: [PHP] fopen

2003-03-16 Thread Sebastian
not a bad idea, thanks, I will do just that. cheers, - Sebastian +- Original Message -+ said by: John W. Holmes | i have this snippet of code, from what i can tell it works .. just | wondering | if i am doing it in a correct way, or if there is a better, or faster | way. | thanks

Re: [PHP] Re: str_replace

2003-03-15 Thread Sebastian
Thank you, that seems to work fairly well :) cheers, - Sebastian - Original Message - From: Ernest E Vogelsinger | At 07:23 15.03.2003, Sebastian said: | [snip] | doesn't work but also doesn't give any errors, I will try to explain what I | am

[PHP] str_replace

2003-03-14 Thread Sebastian
This may seem weird: How do I str_replace an include function? I want to replace this line: include($header); with nothing .. something like this: $footer = str_replace( '. include($header); .' , , $footer); I get errors, any ideas? cheers, - Sebastian

Re: [PHP] Re: str_replace

2003-03-14 Thread Sebastian
=print ?php include(../config.php); if($_GET[action] == print) { $header = str_replace('include($header);', '', $header); $footer = str_replace('include($footer);', '', $footer); } include($header); ? // html ?php include($footer); ? cheers, - Sebastian - Original Message - From

[PHP] Dynamic titles.

2003-03-13 Thread Sebastian
Hello. I have many pages, and was thinking of a way to generate dynamic page titles, very similar to a breadcrumb where it uses the directory structure to make the page title. Anyone have something like this, and is willing to give a hand? warm regards, Sebastian - [BBR] Gaming Clan http

[PHP] Enabling GD library

2003-03-13 Thread Sebastian
is appreciated. warm regards, - Sebastian

Re: [PHP] Adding dates

2003-03-11 Thread Sebastian
http://www.php.net/manual/en/function.strtotime.php warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: Liam Gibbs [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 3:24 PM Subject: [PHP] Adding dates Does

Re: [PHP] Encrypting/Compiling PHP Scripts

2003-03-11 Thread Sebastian
$1,000 for an encrypter.. hehe. I'm sure you'll pass, huh? ;) I was thinking about doing the same, can't trust webhost nowadays with access to your scripts :P Although, I wouldn't mind seeing a cheaper method of encrypting php. - Original Message - From: Leif K-Brooks [EMAIL PROTECTED]

Re: [PHP] Adding dates

2003-03-11 Thread Sebastian
No problem. I love the function myself :) warm regards, - Sebastian - Original Message - From: Liam Gibbs [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 4:24 PM Subject: Re: [PHP] Adding dates | http://www.php.net/manual/en/function.strtotime.php

Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread Sebastian
What php version? For older php version: $HTTP_SERVER_VARS['HTTP_REFERER']; Newer: $_SERVER['HTTP_REFERER']; Or you can usually do: echo $HTTP_REFERER; I don't think there is even a way of disabling it in the php.ini warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

[PHP] Date Question.

2003-03-05 Thread Sebastian
I have a date field in mysql in this format: Y-m-d H:i:s I would like to echo Today if the date is today, can someone offer some help? Thanks. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

Re: [PHP] Re: Date Question.

2003-03-05 Thread Sebastian
can you give an example? I am stil learning :) - Original Message - From: Philip Hallstrom [EMAIL PROTECTED] | Strip off the H:i:s part using explode() and use date() to get an | equivalent string for right now and if they match, today's the day. | | On Wed, 5 Mar 2003, Sebastian wrote

Re: [PHP] Re: Date Question.

2003-03-05 Thread Sebastian
Thank you very much, That worked well. warm regards, Sebastian. - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Sebastian [EMAIL PROTECTED]; Philip Hallstrom [EMAIL PROTECTED] Cc: php list [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 2:38 PM Subject: Re: [PHP] Re: Date

[PHP] Truncating text

2003-03-04 Thread Sebastian
contains a ! (exclamation point) it only shows one result. Why is an ! interfering? Any suggestions? warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

[PHP] Date question

2003-03-01 Thread Sebastian
use in this case, date() ? If so, how would I do the same exact thing? thanks. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

Re: [PHP] Date question

2003-03-01 Thread Sebastian
sorry, I do not see how that will work. I need a function that will know if 2002-08-29 10:53:09 was 24 hours ago, and if true, new will appear. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: John W. Holmes [EMAIL PROTECTED

[PHP] MYSQL_CLIENT_COMPRESS not working?

2003-02-28 Thread Sebastian Stadtlich
state NEW,ESTABLISHED tcp dpt:mysql ( needless to say that the database server is on a remote host) No compresion here? could anybody please verify this? then i would file in a bug report on bugs.php.net... regards Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP list problems?

2003-02-27 Thread Sebastian
Hmm... i cannot see your message,.. see it's blank below .. Seems to be only happening to your emails. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: David T-G [EMAIL PROTECTED] To: PHP General list [EMAIL PROTECTED] Cc: Sebastian

Re: [PHP] PHP list problems?

2003-02-27 Thread Sebastian
haha, okay, I see now. your message was attached to a text file. thanks. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: David T-G [EMAIL PROTECTED] To: PHP General list [EMAIL PROTECTED] Cc: Sebastian [EMAIL PROTECTED] Sent

Re: [PHP] php Warning help!

2003-02-26 Thread Sebastian
apparently the path to an include is not correct.. Check you have the correct path for your include(); chmod 777 might not be the answer. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: Richard Baskett [EMAIL PROTECTED] To: PHP

[PHP] PHP list problems?

2003-02-26 Thread Sebastian
every so often i get a blank email that contains an attachment, a ATTxyz.dat and ATTxyz.txt why? I just got a reply from David T-G, Thread Deleting a page after viewing it and its blank with an attachment.. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

[PHP] dummy variable

2003-02-24 Thread Sebastian
? this is the function that I'd like to use: preg_replace(/\[url=(.*?)\](.*?)\[\/url\]/si, a href=\\1 target=_blank\\2/a); How do I do this? warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com

[PHP] includes || perl

2003-02-23 Thread Sebastian
= will work inside a .php file.. any solutions? warm regards, Sebastian

Re: [PHP] includes || perl

2003-02-23 Thread Sebastian
Thank you, that worked like a charm :) I appreciate it. warm regards, Sebastian - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Sebastian [EMAIL PROTECTED] Cc: php list [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 6:37 PM Subject: Re: [PHP] includes || perl

Re: [PHP] server hostname

2003-02-23 Thread Sebastian
$_SERVER['HTTP_HOST'] or $HTTP_SERVER_VARS['HTTP_HOST'] warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: Michael P. Carel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 9:23 PM Subject: [PHP] server hostname

Re: [PHP] includes || perl

2003-02-23 Thread Sebastian
Wow, thank you. That is perfect. I never heard of virtual() function, it really should also be located at: http://www.php.net/manual/en/function.include.php since it's a type of include. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message

Re: [PHP] includes || perl

2003-02-23 Thread Sebastian
ah, I didn' see that. Thanks. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: Leif K-Brooks To: Sebastian Sent: Sunday, February 23, 2003 11:17 PM Subject: Re: [PHP] includes || perl It is. See also require

Re: [PHP] Is there a way to include php source files in a php script ?

2003-02-23 Thread Sebastian
this question was answered about 15 times already ;) warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: Sunfire [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:52 AM Subject: Re: [PHP] Is there a way

Re: [PHP] Sitewide Header Footer Includes || Trouble with Relative Paths..........

2003-02-22 Thread Sebastian
); // html and stuff include($footer); ? my config.php has all my site includes and it allows me to dynamically change anything throughout the site in a matter of seconds. hope this helps. Sebastian - [BBR] Gaming Clan http://www.BroadBandReports.com - Original Message - From: CF High

[PHP] Printer Friendly page

2003-02-22 Thread Sebastian
Greetings all. I am looking for a simple print page script. I tried just about all the print scripts at hotscripts.com and not one works (at least for me). Does anyone know of one that works under php v 4.2.3 with register globals off? thanks in advance.

[PHP] AUTH (.htaccess style)

2003-02-20 Thread Sebastian
to the ability to include the file into any script I would like to protect and validate the user based on the information that is stored on the mysql database. Conclusion: Does anyone know of a handy script that I could use? Thanks in advanced. Sebastian - [BBR] Gaming Clan http

[PHP] Re: AUTH (.htaccess style)

2003-02-20 Thread Sebastian
Message - From: Sebastian To: [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:34 AM Subject: AUTH (.htaccess style) Greetings. I have a member system which each user has a unique ID, username and password. I want to secure some of my scripts with .htaccess style login

[PHP] Re: [PHP-DEV] how to call a website from within a php script

2003-02-16 Thread Sebastian Bergmann
christian tischler wrote: Can anybody tell me how to call a website from within a php script. Please ask user questions on the [EMAIL PROTECTED] list. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http

[PHP] Re: [PHP-DEV] database select

2003-02-16 Thread Sebastian Bergmann
Hans Prins wrote: [...] Please ask user questions on the [EMAIL PROTECTED] list. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP General Mailing List (http

[PHP] $PHP_AUTH

2003-02-15 Thread Sebastian
( HTTP/1.0 401 Unauthorized ); echo 'Authorization Required!'; exit; } //- end -+ Thanks for your time. Sebastian - [BBR] Gaming Clan http://www.BroadBandReports.com

[PHP] Re: [PHP-DEV] Parse search string a la Google (Regular expression?)

2002-11-27 Thread Sebastian Bergmann
itself, not for developing *with* PHP. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] crashed apache-processes eat up my cpu

2002-11-21 Thread sebastian stadtlich
that automatically kill process that reach a certain amount of CPU Time? regards Sebastian

[PHP] Re: shell_exec problem

2002-11-15 Thread Sebastian Konstanty Zdrojewski
in advance Coert Metz -- Sebastian Konstanty Zdrojewski IT Analyst Neticon S.r.l. Via Valtellina 16 - 20159 Milano - MI - Italy Phone(+39) 02.68.80.731 E-Mail [EMAIL PROTECTED] Website http://www.neticon.it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: _POST incorrect output...

2002-11-14 Thread Sebastian Konstanty Zdrojewski
. -- Sebastian Konstanty Zdrojewski IT Analyst Neticon S.r.l. Via Valtellina 16 - 20159 Milano - MI - Italy Phone(+39) 02.68.80.731 E-Mail [EMAIL PROTECTED] Website http://www.neticon.it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] system()

2002-11-13 Thread Sebastian Konstanty Zdrojewski
Apache hangs up until the script is not complete... anybody has an Idea? TIA, En3pY -- Sebastian Konstanty Zdrojewski IT Analyst Neticon S.r.l. Via Valtellina 16 - 20159 Milano - MI - Italy Phone(+39) 02.68.80.731 E-Mail [EMAIL PROTECTED] Website http://www.neticon.it -- PHP General

[PHP] system()

2002-11-13 Thread Sebastian Konstanty Zdrojewski
under Apache hangs up until the script is not complete... anybody has an Idea? TIA, En3pY -- Sebastian Konstanty Zdrojewski IT Analyst Neticon S.r.l. Via Valtellina 16 - 20159 Milano - MI - Italy Phone(+39) 02.68.80.731 E-Mail [EMAIL PROTECTED] Website http://www.neticon.it -- PHP

[PHP] Re: system()

2002-11-13 Thread Sebastian Konstanty Zdrojewski
Ok, I solved... It was so easy, I am trying to find the solution since yesterday. I added the apersand () at the end of command line. It works in background. Thanks anyway! Have a nice day! :) En3pY Sebastian Konstanty Zdrojewski wrote: Hi everybody, I am attempting to run in background

[PHP] Unique Identifier String

2002-11-10 Thread Sebastian A.
I am currently working on a mySQL site administration system and I need help on figuring out how I can create a 24 digit letter/number unique identifier string. I know that I can easily get a random number using a PHP function (I can remember it off the top of my head) but I also need to create

[PHP] Please helpme !! files problems..

2002-08-27 Thread Sebastian Tomasino
Hi! Sorry for this stupid question but i am a begginer learning from a old book (dangerous combination), So i have to convert every example to not use old methods... I have to problems and i look every where and could not resolve. firstone: i have a form like this... form

[PHP] Problems with the safe mode...

2002-08-26 Thread Sebastian Tomasino
configuration (apache 2.0.40 php 4.2.2) have the same problem but, when i switch from isapi mode and run php in the normal mode, recognize the correct file user/group permissions. But in my slack 8.1 conf (apache 2.0.39 php 4.2.2) i dont know what to do... Any Ideas ??? Thanks for your help... Sebastian

[PHP] Re: Help please

2002-08-15 Thread Sebastian Tomasino
apache (apachectl restart) if this donĀ“t work, tellme more about yor system (i guess than you are using apache but i really dont know what server you are using..) let me know, ok? sebastian. Paul wrote: Hello; I have a Mandrake 8.2 machine that I'm trying to get a php webmail application

[PHP] Problem with Testing if the user has an account in my database

2002-08-15 Thread Sebastian Marcu
, Sebastian ___ require (config.inc.php); $db = mysql_connect($dbserver,$nutzer,$passwort); $myData = mysql_db_query($dbname,SELECT * FROM learningZoneCustomer WHERE Email='$rEmail'); if ($myData 0) { echo 'logInSig=1'; // error signal

<    1   2   3   4   5   6   >