[PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Chris Cocuzzo
hey- ok. I have the following code. ?php if($submit) { $arradate = explode(/,$date); $uxdate = mktime(0,0,0,$arradate[0],$arradate[1],$arradate[2]); print $uxdate; } else { ? form action=strtotime.php method=POST //name of file is strtotime.php input type=text name=date

RE: [PHP] Mailling Lists

2001-12-27 Thread B. van Ouwerkerk
snip Look into qmail/ezmlm for a good combination, along with the tied true majordomo list manager. I've been running some large mailing lists using the ezmlm/qmail combo - which easily saturates a T1 connection running just a 350 MHz PII. I'd say mailman. I know sourceforge.net is running

RE: [PHP] Re: Generate Alphabet

2001-12-27 Thread Jerry Verhoef (UGBI)
Sorry for the late reply but maybe you should take a look at the function range. from the manual: foreach(range('a', 'z') as $letter) { echo $letter; } Jerry -Original Message- From: Daniel Harik [mailto:[EMAIL PROTECTED]] Sent: Monday, December 24, 2001 7:01 PM To: [EMAIL

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Brian Clark
* Chris Cocuzzo ([EMAIL PROTECTED]) [Dec 27. 2001 03:16]: hey- Howdy. With your previous posts on the subject, why do I get the feeling you're building a time machine? :-) ok. I have the following code. ?php if($submit) { $arradate = explode(/,$date); $uxdate =

Re: [PHP] Re: Generate Alphabet

2001-12-27 Thread Philip Olson
This will only work with PHP 4.1.0 or later. Consider this example: $letter = 'a'; $i = 0; while ($i++ 26) { print Letter: . $letter++ .\n; } regards, Philip Olson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] MsSQL from FreeBSD

2001-12-27 Thread Valentin V. Petruchek
Hello php-world! I'm working on Apache 22, php 4.1.0 and try to work with MsSQL 2000. PHP is configured './configure' '--with-apache=../apache_1.3.22' '--with-mysql' '--with-sybase=/usr/local/freetds' '--enable-track-vars' Everything works fine when using mssq-Functions, except extracting

php-general Digest 27 Dec 2001 10:54:42 -0000 Issue 1076

2001-12-27 Thread php-general-digest-help
php-general Digest 27 Dec 2001 10:54:42 - Issue 1076 Topics (messages 78796 through 78829): FreeType 2 on windows? 78796 by: Brandon Orther Re: question regarding cookies 78797 by: Erik Price 78802 by: Erik Price PHP 4.1.1 released (minor update) 78798 by:

[PHP] passing by reference

2001-12-27 Thread Kancha .
I coulnd't figure out the difference between the two: function foo(){ $x = hello; return $x; } and function foo(){ $x = hello; return $x; } __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Bogdan Stancescu
Most probably you have some kind of slashing in there. Check it out by also echoing $date from php and if nothing looks wrong, take a look at the source code. HTH Bogdan Chris Cocuzzo wrote: hey- ok. I have the following code. ?php if($submit) { echo(Input date: $datebr\n);

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Andrey Hristov
What PHP version do you use(4.1.0?) Regards, Andrey Hristov - Original Message - From: Bogdan Stancescu [EMAIL PROTECTED] To: Chris Cocuzzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 27, 2001 2:18 PM Subject: Re: [PHP] This makes NO SENSE! Most probably you

Re: [PHP] Re: Generate Alphabet

2001-12-27 Thread Bogdan Stancescu
I seriously doubt your code works -- have you tested it? I think the code you submitted will most probably output 1 2 3 4...24 25 26 (spaces are actually \n's). I never tested it though, so I may be mistaken. However, with just a few changes we get $letter='a'; $i=0; while ($letter'z') {

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Bogdan Stancescu
To whom is your question directed? From the looks of it, it seems you're asking me... If that's the case, why? Bogdan Andrey Hristov wrote: What PHP version do you use(4.1.0?) Regards, Andrey Hristov - Original Message - From: Bogdan Stancescu [EMAIL PROTECTED] To: Chris Cocuzzo

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Andrey Hristov
It is for the author of This makes NO SENSE! Regards, Andrey Hristov -- 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] Browsers...

2001-12-27 Thread Jesus Maria Bianco T.
Hello, World :-) I've been using the PHP_AUTH_USER and PHP_AUTH_PW, in some scripts, I've had some problems with it in somes Browsers. I tested with a phpinfo() function and the browsers with the problems doesn't appear PHP_AUTH_USER and PHP_AUTH_PW with the respective values. It's like

[PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
Hi I'm using following code: setlocale(LC_ALL, 'german'); $timestamp = time(); $string = strftime('Heute ist %A, der %d. %B %Y. Sie haben diese Seite um %H Uhr %M aufgerufen.', $timestamp); # in english: today it's %A, the %d. %B. %Y. You opened this page at %H:%M. echo $string;

[PHP] Create a table with more than 1 column

2001-12-27 Thread Rodrigo Peres
Hi list, I am in a big trouble. My deadline is coming and I couldn't solve my problem yet! I have this script that outputs a table that can be seen at http://www.celebnet.com.br/abc.php $ultletra = ''; $row = ''; while($resultado = $query-dados()) { $curletra = $resultado['letra'];

[PHP] Hiding URL address

2001-12-27 Thread Matias Banzas
Hiow can i do 2 hide the real Filename / Url of a file? Ive seen it donde in lots of places... i need this 2 show some images and hide the real Location of them Anyone can help me? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] MsSQL from FreeBSD

2001-12-27 Thread Brian Clark
* Valentin V. Petruchek ([EMAIL PROTECTED]) [Dec 27. 2001 05:55]: Hello php-world! Hello. PHP is configured './configure' '--with-apache=../apache_1.3.22' '--with-mysql' '--with-sybase=/usr/local/freetds' '--enable-track-vars' Everything works fine when using mssq-Functions, except

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Brian Clark
* Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 09:13]: Hi Hiya I'm using following code: setlocale(LC_ALL, 'german'); $timestamp = time(); $string = strftime('Heute ist %A, der %d. %B %Y. Sie haben diese Seite um %H Uhr %M aufgerufen.', $timestamp); # in english: today it's %A,

Re: [PHP] Create a table with more than 1 column

2001-12-27 Thread Miles Thompson
Rodrigo, Nice looking page. I'm not going to try and fix your logic, because you've approached it somewhat differently than I would. Here's my logic or pseudocode ... Set max_columns to 3 Set a letter variable While I have results While column_count is less than max_columns or letter is

Re: [PHP] MsSQL from FreeBSD

2001-12-27 Thread Valentin V. Petruchek
Yes, php.ini is there. You see, there is no mssql section when phpinfo(), but mssql works! As i understood php works with mssql when sybase installed, but sybase has no parameters need to change: Sybase Support enabled Allow Persistent Links Yes Persistent Links 0/unlimited

Re: [PHP] passing by reference

2001-12-27 Thread Andi Gutmans
On Thu, 27 Dec 2001, Kancha . wrote: I coulnd't figure out the difference between the two: function foo(){ $x = hello; return $x; } and function foo(){ $x = hello; return $x; } return $x will give you a parser error. Andi -- PHP General Mailing List

Re: [PHP] Hiding URL address

2001-12-27 Thread Patrik Wallstrom
On Thu, 27 Dec 2001, Matias Banzas wrote: Hiow can i do 2 hide the real Filename / Url of a file? Ive seen it donde in lots of places... i need this 2 show some images and hide the real Location of them Anyone can help me? Create a php script that reads the file and feeds it to the user. In

[PHP] php coders in bombay?

2001-12-27 Thread Kunal Jhunjhunwala
hey, just wondering if there are any other hardcore php fanatics in the city of bombay, india? :) if there are, give me a shout :) Regards, Kunal Jhunjhunwala -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Create a table with more than 1 column

2001-12-27 Thread Jerry Verhoef (UGBI)
I would have done it a different way, but it would look something like that this code has not been tested and is guaranteed to have bugs :) but it just to get you started on a different approach. $ultletra = ''; $row = 'tr'; while($resultado

Re: [PHP] MsSQL from FreeBSD

2001-12-27 Thread Brian Clark
* Valentin V. Petruchek ([EMAIL PROTECTED]) [Dec 27. 2001 10:28]: Yes, php.ini is there. [...] I've changed php.ini - turned mssql_limits to 100 (instead of 4096), restarted a[pache but problem doesn't seem to disappear. OK, we're talking about Linux, right? I'll bet `cat

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Chris Cocuzzo
Other Vital Info that probably would be helpful? the code below is on: Apache 1.3 on Win2K PHP 4.0.6 the machine this is intended for I believe runs on Linux(not sure what version), apache 1.3, php 4.0.1pl1 - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL

[PHP] Store Image in Access Database

2001-12-27 Thread Mike Baranski
Hi, I'm trying to store a binary file in an access database, I'm using an ole type, and I think that it's getting inserted OK. My problem is that I don't know how to pull it out... How do you select the stuff that's in an ole object out of the database and display it, a jpg, for example. I

[PHP] Metabse and ODBC Blobs, was [Re: Store Image in Access Database]

2001-12-27 Thread Mike Baranski
Sorry about the previous one, that was a mistake. I have the following code to insert a blob into an access OLE object field: if(($prepared_query=MetabasePrepareQuery($database,UPDATE incident_blob SET data_blob=?, description='new'))) { $binary_lob=array(

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
Thanks for your help, but it doesn't work either :-( Am Donnerstag den, 27. Dezember 2001, um 16:12, schrieb Brian Clark: * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 09:13]: Hi Hiya I'm using following code: setlocale(LC_ALL, 'german'); $timestamp = time(); $string =

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Brian Clark
* Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 11:30]: I did that. For localedef it hasn't an entry. But for locale it has one. I don't think that's what you expectet (it seems to belong to perl) Then you need to find out how to `compile' locale definitions for your system.

Re: [PHP] Store Image in Access Database

2001-12-27 Thread Andrew Brampton
Hi, You would pull it out using a normal SELECT SQL statement.. But I'm just writing this mail to warn agaisnt using a Access Database to store images. I used to do this for a ASP site, allowing users to upload their own images, and for everyone to view them. Anyway the database started running

[PHP] Re: Login and select Query in Mysql

2001-12-27 Thread Jeremy Reed
It is usually wise to search through old posts before posting a question that's been answered before all over again. Here is a previous answer given by myself to someone who asked the same question as you: The easiest way is to use cookies. =CODE ?php require

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
I forgot to mail that to the mailinglist too... * Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 11:30]: I did that. For localedef it hasn't an entry. But for locale it has one. I don't think that's what you expectet (it seems to belong to perl) Then you need to find out how to

[PHP] Re: File Upload Question...

2001-12-27 Thread Jeremy Reed
Your first question. To see that the file uploaded successfully using the web browser, one would have to have access to your computer's file system. In her book, she used this merely as an example to show that the file had, indeed, been uploaded. This should not be used as something that you

Re: [PHP] Re: installing php with apache rpm???

2001-12-27 Thread Duane Douglas
At 10:04 PM 12/26/2001 -0800, Fred wrote: This guy has some great modular php rpms that will do the trick: http://rpms.arvin.dk/php/ Fred Duane Douglas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hello, i have an apache rpm installed. stuff will break

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-27 Thread Peter
Subject: [PHP] Sending out mass mail without having timeout problems .. Hi, Too much trouble to write who wrote what when. Someone suggested using an alias but that's not always doable. I had an app that read from a live rdbms and sent out emails. I sent each email to sendmail and waited fo

[PHP] Re: Metabse and ODBC Blobs, was [Re: Store Image in Access Database]

2001-12-27 Thread Manuel Lemos
Hello, Mike Baranski wrote: Sorry about the previous one, that was a mistake. I have the following code to insert a blob into an access OLE object field: I am not sure if using SQL is the appropriate way to update such object field. Anyway, to make this work, such object must be of ODBC

[PHP] Re: Metabse and ODBC Blobs, was [Re: Store Image in Access Database]

2001-12-27 Thread Manuel Lemos
Hello, Mike Baranski wrote: Sorry about the previous one, that was a mistake. I have the following code to insert a blob into an access OLE object field: I am not sure if using SQL is the appropriate way to update such object field. Anyway, to make this work, such object must be of ODBC

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Stefan Rusterholz
Hm, as far as I see that package is for Aqua (the GUI of OS X) and not for the core (FreeBSD, *nix), so it won't help - and it is actually installed (I use OS X in a german enviroment because I'm swiss). Do you know where to get language packets for FreeBSD? That might work... Am Donnerstag

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-27 Thread Jesus Maria Bianco T.
Hi, If you will send a lot of e-mails, I recomend you, that use under the Console: $rush nohup php -q file_send_email.php The nohup, tell to maquine that don't hang up until finished. php -q (quiet mode) and the last character () for let the process in background. It's only works on *nix

[PHP] Re: File Upload Question...

2001-12-27 Thread Jesus Maria Bianco T.
Hi, Remember 2nd Q: The file is Upload to a temporaly direcory, later you copy from temporaly (temporaly name) to a final (rename the file) destination. Under *NIX, I don't if Windows's PHP when upload tthe file, the file is copied to a temporaly directory. Bye, I've still My Question

[PHP] installing php with apache rpm (rh linux 7.2)???

2001-12-27 Thread Duane Douglas
hi gang! i have an apache rpm installed. stuff will break if i uninstall it. how do i install php to work with it? tia Duane Douglas ASP / SQL Server Tutoring and Training -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Brian Clark
* Stefan Rusterholz ([EMAIL PROTECTED]) [Dec 27. 2001 13:11]: Hm, as far as I see that package is for Aqua (the GUI of OS X) and not for the core (FreeBSD, *nix), so it won't help - and it is actually installed (I use OS X in a german enviroment because I'm swiss). I can't help you there.

Re: [PHP] installing php with apache rpm (rh linux 7.2)???

2001-12-27 Thread Brian Clark
* Duane Douglas ([EMAIL PROTECTED]) [Dec 27. 2001 13:24]: i have an apache rpm installed. stuff will break if i uninstall it. how do i install php to work with it? You can download the source tarball from php.net. Then configure it --with-apxs to have it build an Apache DSO module.

[PHP] Exec as user

2001-12-27 Thread charlesk
I have been looking through the docs and found no help on either finding which user the EXEC'ed commands run as, or how to specify which user they should run as. I tried exec, system, and passthru running a batch file that would write %USERNAME% to a file. And all three functions wrote

[PHP] Translating email to (real) plain text...

2001-12-27 Thread David Bouw
Hi there, I would like to ask some suggestions on my following problem: I am making a small tool which allows you to store incomming mail in a database table. This mail is then scanned on keywords etc etc and with the help of some status bits the priority is given. Via a webpage interface,

Re: [PHP] Translating email to (real) plain text...

2001-12-27 Thread Jim Lucas [php]
I was just reading the other day the php has imap function that give you the ability to get only the body of the message. have your cron job get that and then strip HTML tags on that. Don't see why that wouldn't work. http://www.php.net/manual/en/function.imap-body.php Jim - Original

Re: [PHP] Translating email to (real) plain text...

2001-12-27 Thread Jim Lucas [php]
and this http://www.php.net/manual/en/function.imap-fetchstructure.php - Original Message - From: David Bouw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 27, 2001 11:44 AM Subject: [PHP] Translating email to (real) plain text... Hi there, I

Re: [PHP] Re: Metabse and ODBC Blobs, was [Re: Store Image in Access Database]

2001-12-27 Thread Mike Baranski
OK, first, that's right out of the metabase manual, with names changed to protect the innocent. Second, the example won't work, it gives syntax errors with the MS driver on creating the test db and tables, but I fixed the DB part, but the tables still won't create themselves, it still gives

Re: [PHP] Exec as user

2001-12-27 Thread David Jackson
Charles --- As a general run on an Unix server httpd is run as user and group nobody. I have been looking through the docs and found no help on either finding which user the EXEC'ed commands run as, or how to specify which user they should run as. I tried exec, system, and passthru running

[PHP] Re: Exec as user

2001-12-27 Thread Mike Eheler
There's no way that I have found to actually execute a script as a specified user, however: ?php passthru('whoami'); ? Should tell you what user the web server is running as. Mike Charlesk wrote: I have been looking through the docs and found no help on either finding which user the

Re: [PHP] Exec as user

2001-12-27 Thread Jim Lucas [php]
I don't believe that the system variables are available to php. I work on *nix mostly, but I have a windows machine at home running php and I can't access any of my system var's. - Original Message - From: charlesk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 27,

Re: [PHP] Create a table with more than 1 column

2001-12-27 Thread David Jackson
Rodrigo --- This is really an SQL question, not an PHP one? What database are you using? On what OS? For MySQL check this link: http://www.mysql.com/doc/A/N/ANSI_diff_SELECT_INTO_TABLE.html If your running on a Unix server, and is something that runs on a regular basis (say hourly or daily),

[PHP] oracle 8i stored procedures + php access

2001-12-27 Thread Robert Mena
Hi, I have a delphi application that uses oracle as db server with stored procedures (running ok). I've been trying to make a php version of such application with no luck so far. I've created a user to access such thing and I keep getting the following error Warning: OCIStmtExecute: ORA-06550:

RE: [PHP] Translating email to (real) plain text...

2001-12-27 Thread Richard Heyes
So far so good! Only problem which I have is that some (=most) people create email with clients that output email with HTML codes (Internet Explorer for example).. Internet Explorer is a browser, it doesn't create email. Does anyone khow this is done..? Use either the imap extension, or

[PHP] Time function question/

2001-12-27 Thread Mehmet Kamil ERISEN
Hi, Can anybody suggest a function that will generate a random date between 01-Jan-1967 31-Dec-1985 thanks. = Mehmet Erisen http://www.erisen.com __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP

[PHP] Re: Time function question/

2001-12-27 Thread George Nicolae
try date(d-M-Y,rand (mktime(0,0,0,1,1,1970),mktime(0,0,0,12,31,1985))) mktime works only from January 1 1970 -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com Mehmet Kamil Erisen [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] generalized environment for pages

2001-12-27 Thread Dennis Gearon
Would all you experts please advise me on additions to this list? It's a list of resources a page may need to do its job. -- Attributes: URL - implicit from server Referring page - implicit from

[PHP] oracle 8i stored procedures + php access

2001-12-27 Thread Robert Mena
Hi, I have a delphi application that uses oracle as db server with stored procedures (running ok). I've been trying to make a php version of such application with no luck so far. I've created a user to access such thing and I keep getting the following error Warning: OCIStmtExecute: ORA-06550:

[PHP] crack lib

2001-12-27 Thread Dennis Gearon
If the crack lib functions are for cracking passwords or other non commerce/offensive/hacker efforts, I strongly object to their inclusion in the functions of PHP. The PHP/Apache community does not need to give the gates/microsoft/.net community any ammunition for bad publicity. -- PHP General

Re: [PHP] Exec as user

2001-12-27 Thread charlesk
I can access the username system var when the script is run from a command prompt. The problem lies when iis tells php to run it. I have the directory security turned on so IIS authenticates me before any scripts are run. So it should be running as me. Charles Killmer -- Original

Re: [PHP] crack lib

2001-12-27 Thread Billy Harvey
On Thu, 2001-12-27 at 19:12, Dennis Gearon wrote: If the crack lib functions are for cracking passwords or other non commerce/offensive/hacker efforts, I strongly object to their inclusion in the functions of PHP. The PHP/Apache community does not need to give the gates/microsoft/.net

RE: [PHP] crack lib

2001-12-27 Thread David Piasecki
This could easily and quickly lead to a philosophical argument about the merits of such software/libraries/etc. Is the best way to secure software and hardware to take away the resources to try to break them? This only leads to more and more poor programming. As long as these tools are out there,

[PHP] php code beautifier

2001-12-27 Thread George Nicolae
do you know if exist a php code beautifier for win32? pls tell me the address. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: php code beautifier

2001-12-27 Thread Mike Eheler
I'm working php script that would perform such a feat. I'll post news on php.general when/if it's finished. Mike George Nicolae wrote: do you know if exist a php code beautifier for win32? pls tell me the address. -- Best regards, George Nicolae IT Manager ___

Re: [PHP] Exec as user

2001-12-27 Thread Mike Eheler
Try doing this ? echo 'pre'; print_r(array($HTTP_SERVER_VARS,$HTTP_ENV_VARS)); echo '/pre'; ? And see if the information you want is in there anywhere. Mike I don't believe that the system variables are available to php. I work on *nix mostly, but I have a windows machine at

[PHP] MySql and /var/lib/mysql/mysql.sock Problem !!!

2001-12-27 Thread ger
hy guys , Does anybody know what is my problem ? I try to access to my mysql database and I get the next errror : Can't connect trough /var/lib/mysql/mysql.sock I' ve seen that this is problem related to permissions in the directory I think ???!!! Could you suggest me

Re: [PHP] crack lib

2001-12-27 Thread Bogdan Stancescu
I also subscribe to the opinions against your objection. David has a very good point I would've made hadn't he beat me to it: As long as these tools are out there, it should keep all of us on our toes, and programming with security constantly on our minds. Bogdan Dennis Gearon wrote: If the

Re: [PHP] crack lib

2001-12-27 Thread Michael A. Peters
On Thu, 27 Dec 2001 16:12:06 -0800 Dennis Gearon [EMAIL PROTECTED] mentioned: If the crack lib functions are for cracking passwords or other non commerce/offensive/hacker efforts, I strongly object to their inclusion in the functions of PHP. The PHP/Apache community does not need to give the

[PHP] hotmail settings POP and SMTP under Mozilla

2001-12-27 Thread ger
hi guys , Does anybody know how to set up my mail reader (Mozilla ) to be able to read and send mail with my HOTMAIL account ? What should I put in POP ? and SMTP servers ? I wasn't be able to find this information .. Thanks in advance Ricardo

[PHP] Can you fake a onClick?

2001-12-27 Thread Douglas Harter
I have checked the archives and not really found an answer, so here goes. My form contains a function called CountIt which increments a counter file on the site. I mainly use it to count the hits on the page. I also have multiple a links to .zip .txt files which can be accessed or

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Bogdan Stancescu
Yes: a href=javascript:CountIt('actual link here')Text/a And in ClickIt you'll have to append if (goto) { window.location=goto; } Obviously, you'll have to redefine ClickIt() to ClickIt(goto) I don't know if all the code is 100% accurate, but that's definitely the direction to go. You may

Re: [PHP] hotmail settings POP and SMTP under Mozilla

2001-12-27 Thread Bogdan Stancescu
You most probably 1. Have to ask about this somewhere else; 2. Won't be able to set it up -- Hotmail is M$ and, as such, it implements its own protocols. Bogdan ger wrote: Does anybody know how to set up my mail reader (Mozilla ) to be able to read and send mail with my HOTMAIL account ?

Re: [PHP] Re: Metabse and ODBC Blobs, was [Re: Store Image in Access Database]

2001-12-27 Thread Manuel Lemos
Hello, Mike Baranski wrote: OK, first, that's right out of the metabase manual, with names changed to protect the innocent. Second, the example won't work, it gives syntax errors with the MS driver on creating the test db and tables, but I fixed the DB part, but the tables still won't

Re: [PHP] hotmail settings POP and SMTP under Mozilla

2001-12-27 Thread Rambo Amadeus
you cant use mozilla to read and send hotmail messages. Onli outlook ekspress - Original Message - From: ger [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: 03. prosinac 2001 19:44 Subject: [PHP] hotmail settings POP and SMTP under Mozilla hi guys , Does

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Douglas Harter
Maybe I should have mentioned that CountIt is a php function. Does that make a difference? It is declared at function CountIt($filename) where $filename is the file containing the count. - Original Message - From: Bogdan Stancescu [EMAIL PROTECTED] To: Douglas Harter [EMAIL PROTECTED] Cc:

[PHP] Modify someone else's session register

2001-12-27 Thread Alex Vargas
Hi. Let's suppose I have 3 users in my site, each of them generating their respective session variables. Assuming I have a session variable named $variable, I'll end up in the server with 3 values: $variable_1, $variable_2 and $variable_3. My question is: is there a way I can change let's say

RE: [PHP] Can you fake a onClick?

2001-12-27 Thread Matt Friedman
Please turn off your read receipt request in your email client. It's very annoying. Create a redirect page using php. Something like ? // log your hits here. Then... header(Location: $QUERY_STRING); ? Using a url such as:

Re: [PHP] Can you fake a onClick?

2001-12-27 Thread Bogdan Stancescu
Uh, ok. You said my form contains a function, so... Well, yes, you can do that too -- in the ugly way: http://www.clipart.com/ (take a look at the links -- using out.php?un=location, where out.php contains CountIt(). Bogdan Douglas Harter wrote: Maybe I should have mentioned that CountIt is

[PHP] FOLLOW UP:[PHP] Warning: Cannot send session cookie

2001-12-27 Thread David Jackson
Michael (and list) -- I've made the adjustment suggested the scripts are below. What I'm trying todo is pass the uid and mid to the sales.php script. It works the first time!! But if I reload sales.html the next record( w/ same uid) isn't added or if I login in as a different id the records

RE: [PHP] hotmail settings POP and SMTP under Mozilla

2001-12-27 Thread James Cox
I think your best bet is to add a bookmark to www.hotmail.com . James Cox -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 2:11 AM To: ger Cc: php-general Subject: Re: [PHP] hotmail settings POP and SMTP under Mozilla You most

[PHP] RESOLVED(maybe):Warning: Cannot send session cookie

2001-12-27 Thread David Jackson
All -- It appears that the problem was a table design problems, my primary index wasn't set to auto-increment? So I was trying to insert records with duplicate keys !! This of course leads to another question, how do I return SQL error messages to the browser? Thanks, David -- -- PHP

[PHP] --enable-trans-sid

2001-12-27 Thread phantom
Hello to my php friends! I am trying to compile PHP with: ---enable-trans-sid But when i test out pages, the only time a real session is propagated between pages is when i included the ?=SID? in the URL's (AND THIS WORKS GREAT!!!). BUT, If I remove that PHP sniplet, the session restarts on

[PHP] Question about using libraries without ./compile --with-library

2001-12-27 Thread Joelmon2001
I know you can use ./configure --with-gd to compile gd with php and same with ming, to make flash movies, for example However, I noticed on source code one tutorial showed the php script link straight to the ming .so file, which made me wonder *IF* that was because they didn't use

[PHP] Re: --enable-trans-sid

2001-12-27 Thread phantom
forgot to add, operating on Red Hat 7.1 Phantom wrote: Hello to my php friends! I am trying to compile PHP with: ---enable-trans-sid But when i test out pages, the only time a real session is propagated between pages is when i included the ?=SID? in the URL's (AND THIS WORKS GREAT!!!).

[PHP] PHP-4.1.1 released

2001-12-27 Thread Pumar
Due to a few bugs in PHP 4.1.0. The PHP Group decided to release PHP 4.1.1. The bugs that were fixed are not major ones but minor ones, which could be annoying if you get bitten by them. Their recommendation is that people who already upgraded to PHP 4.1.0 do not need to upgrade to PHP 4.1.1

[PHP] Not PHP but MYSQL

2001-12-27 Thread Steve Maroney
Sorry for the OT, but im trying to figure out something with mysql and need some help. Does anyone know how set the auto_increment value to some other number than 0. I have an order_number coloumn and I want to start it at 1000. So the first record would 1001. Thank you, Steve Maroney

Re: [PHP] Not PHP but MYSQL

2001-12-27 Thread Alex Vargas
create table table_name ( id int not null auto_increment, primary key (id) ) auto_increment = 1001 - Original Message - From: Steve Maroney [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 6:59 AM Subject: [PHP] Not PHP but MYSQL Sorry for the OT, but im

[PHP] Call another page after the menu had been selected

2001-12-27 Thread Jack
Dear all I'm using UltraDev which build a form containing a menu, there a two items inside this menu for user to choose. This form is using Post Action to $php_self which means it will pass back the variable to itself. Then here is the question: what should i do if i want to call a page prompt

Re: [PHP] Re: Generate Alphabet

2001-12-27 Thread Philip Olson
I seriously doubt your code works -- have you tested it? I think the code you submitted will most probably output 1 2 3 4...24 25 26 (spaces are actually \n's). I never tested it though, so I may be mistaken. Yes, it works. Test it before posting such doubts :) Regards, Philip Olson

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-27 Thread Paul Roberts
can this be set in the php file or htaccess with sendmail_path =pathtosendmail/sendmail -oi -t -odq; Paul Roberts [EMAIL PROTECTED] - Original Message - From: Peter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 27, 2001 6:02 PM Subject: Re:

[PHP] Re: session class

2001-12-27 Thread Chris Hall
session variables are accessible the same as when you set them : eg session_register('temp'); $temp = 1; on another page: session_start(); /* so that you can access your session variables... echo $temp; /* this will echo 1 and so you know you cannot define a variable for your class inside a