RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Boaz Yahav
Upgrading to IE 5.5 will tell you if it's a client problem or maybe a server problem. Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February

RE: [PHP] what's the difference between include and require??

2001-02-21 Thread Boaz Yahav
Check this : http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=22 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Zenith [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 3:40 PM

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Maxim Maletsky
I do not need to upgrade, I can just get onto my MAC (MSIE 5 : Mac edition) and see it working. I know it's client side problem. But it wasn't born just like that. There's something (or better say MSIE 5.01) interrupting the download of file. No errors in apache log files also suggests that IE

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Maxim Maletsky
From last millenium. (Cristmass? I guess) and always worked as precise as the heart of a baby. Cheers, Maxim Maletsky -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 4:31 PM To: Maxim Maletsky; Boaz Yahav; 'PHP General List. (E-mail)'

RE: [PHP] Pay for help

2001-02-21 Thread Boaz Yahav
It's very funny these emails :) 1st, it's berber and not Mr. Yahav (like Mr. Gates). 2nd, every now and then comes someone that has no idea about the WeberDev.com background and thinks We are here for the $1,000,000's. A few words of correction : 1. WeberDev.com has been around since April

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. Ne eds to be fixed NOW. Please advise.

2001-02-21 Thread Maxim Maletsky
Another funny thing: the page breaks in all different places but more often on: 1276 Bytes (65% of times), 2743 Bytes (15% of times), 4153 Bytes (10% of times), others Interesting ... I feel here pockets trouble ... Cheers, Maxim Maletsky -Original Message- From: Maxim

Re: [PHP] Getting LDAPS to work

2001-02-21 Thread Stig Venaas
On Tue, Feb 20, 2001 at 11:14:41AM -0400, Victor V . Evtushenko wrote: * John Hallam [EMAIL PROTECTED] [010215 17:58]: I have got php 4.0.4p1 configured with openssl 0.9.6 and ldap and I'm trying to get an ldap_connect to work over ldaps as described in the ldap_connect documentation.

RE: [PHP] URGENT: IE pops-up an Error and File Download Fails. FIXED (no idea how)

2001-02-21 Thread Maxim Maletsky
OK, Thanks everyone for trying to help me out. I think I have "fixed" it. All I've done was: inside a function repeating on each row I changed - if($int)return "FONT COLOR=\"#FF\"$good/FONT"; with - if($int)return "FONT COLOR=\"#FF\"$good/FONT

[PHP] cURL library and auto-loggin to a site

2001-02-21 Thread Christie, Darren
Does anyone know if it is possible to use PHP and cURL to auto-login into a site (which sets a cookie) and then fill in a form to send an sms message? I need to do this to test a site automatically and check response times for sending the SMS. -- PHP General Mailing List (http://www.php.net/)

[PHP] Database Paging using MSSQL 2000

2001-02-21 Thread Ankur Verma
Hello All! I am implementing a database application using PHP4 and MSSQL2000. I have a database table which has a large no. of tuples. I want to display the data in the form of pages with Prev Next buttons. I wanted to know if there is some syntax in the MSSQL Select statement which can allow

RE: [PHP] Pay for help

2001-02-21 Thread Maxim Maletsky
Yup, and I am your competitor! PHPBeginner.com is about to be something like WeberDev.com (which I personally very much like and respect) Remember, Berber, my postings of on WeberDev.com which you replied me back to: from your email: August 23, 2000 " Hi Why did you post an article from

Re: [PHP] CGI BIN PHP

2001-02-21 Thread Hrishi
hey, don't go bald yet :) my web host (communitech.net) has the same setup... is that where you're hosted ? i have a script called 'php4.cgi' in my /cgi-bin which contains: #!/bin/sh #echo -e "Content-type: text/plain\n\n"; #set

Re: [PHP-CVS] cvs: php4 /main main.c php_ini.c

2001-02-21 Thread Hartmut Holzgraefe
Zeev Suraski wrote: Wouldn't that happen even without the patch? I'd imagine the dynamic extensions would be last on the list..? no, extensions found in php.ini were loaded and initialised immediately after ini parsing was done, before initialization of builtins and even before

[PHP] access violation

2001-02-21 Thread Wade Halsey
hi im running iis5 and php 4.04 i get the following error : PHP has encountered an Access Violation at 78003ABF im pretty sure its a server problem, can anyone confirm this or help out? if it is a server error how can it be fixed? this is quite urgent thanks Wade

Re: [PHP] send a mail

2001-02-21 Thread Delbono
To me, the SMTP in php.ini is wrongly configured. Secondo me settato male l'SMTP nel php ini. Ciao Hi, I am new of php I have a file: send.php3 c:\type f:/http/php/send.php3 ? mail("[EMAIL PROTECTED]", "Subject test", "test text"); ? c:\ when I get the page from my web server(apache

[PHP] HELP! IBase - PHP

2001-02-21 Thread Niel Zeeman
Hi there I have a big problem and would greatly appreciate help.. I have a production site runnig the php4.0.4 isapi on IIS5 with a ibase backend db running on solaris Now I have the problem that when ever a couple of people( 2-6) login from the web the database flatlines... This is with

Re: [PHP] Problems with Mail

2001-02-21 Thread Chris Anderson
thanks ill try that - Original Message - From: "David Robley" [EMAIL PROTECTED] To: "Chris Anderson" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 12:39 AM Subject: Re: [PHP] Problems with Mail On Sat, 17 Feb 2001 08:31, Chris Anderson wrote: Oy - your

[PHP] RE: Can you make a file empty?

2001-02-21 Thread Tim Ward
does this not already do it? according the manual "w" as the second parameters will "place the file pointer at the beginning of the file and truncate the file to zero length". Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message:

Re: [PHP] Get name of current function

2001-02-21 Thread Robert Vetter
"Ide, Jim" wrote: Hi - Is there some way I can get the name of the currently executing function? For example: ?php function MyFunction () { echo "The currently executing function is: " . here ; } Solution: function MyFunction () { echo "The currently

Re: [PHP-CVS] RE: [PHP-CVS-DAILY] cvs: php4 / ChangeLog

2001-02-21 Thread Derick Rethans
You can ubsubscribe form this list as described in the footer: To unsubscribe, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Derick Rethans - PHP: Scripting the Web -

Re: [PHP] email a page as attachment

2001-02-21 Thread Ankur Verma
try the HTML mail and attachement class to send the data as an attachment to the email http://phpclasses.upperdesign.com/ hope that helps best regards Ankur Verma HCL Technologies A1CD, Sec -16 Noida, UP India - Original Message - From: "kaab kaoutar" [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] send a mail

2001-02-21 Thread Emanuele De Fazio
the smtp part is configured like this: [mail function] SMTP = mysmtpserver sendmail_from = [EMAIL PROTECTED] there something else inside php.ini that I should change? P.S. other scripts work fine...I have this error just in using mail(); Delbono wrote: To me, the SMTP in php.ini is

[PHP-CVS] cvs: php4 /ext/midgard midgard.c

2001-02-21 Thread David Guerizec
davidg Wed Feb 21 04:21:02 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: used dynamic alloc to avoid segfault ;) Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.9 php4/ext/midgard/midgard.c:1.10 ---

[PHP] Deleting mySql records based on dates

2001-02-21 Thread Thomas Edison Jr.
How do I delete records from my mySql database which are three weeks old?? I will be declaring a date field for the records but what coding should I do in order to check if the records are three weeks old and then erase them so that my data is up to date?? Regards, T. Edison jr. = Rahul S.

php-general Digest 21 Feb 2001 12:50:32 -0000 Issue 525

2001-02-21 Thread php-general-digest-help
php-general Digest 21 Feb 2001 12:50:32 - Issue 525 Topics (messages 40864 through 40940): Re: httpd.conf question... 40864 by: David Robley Re: Postgresql session handling 40865 by: Bolt Thrower 40890 by: Yasuo Ohgaki set_error_handler() 40866 by: Steve

Re: [PHP] Deleting mySql records based on dates

2001-02-21 Thread Kevin Cawthorne
Try something like: $time = time(); // unix time now $day_limit = 28; // how many days to allow $day = 86400; // how many seconds in 24 hours(1 day) $difference = bcmul($day_limit,$day); // multiply the seconds($day) by the day limit($day_limit) $limit = bcsub($time,$difference); $sql =

Re: [PHP] email a page as attachment

2001-02-21 Thread Adrian Murphy
In relation to this class: if i want to let users send an attachment,do i have to first upload the file to the server? - Original Message - From: Ankur Verma [EMAIL PROTECTED] To: kaab kaoutar [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001

Re: [PHP] Deleting mySql records based on dates

2001-02-21 Thread Christian Reiniger
On Wednesday 21 February 2001 14:00, Kevin Cawthorne wrote: Try something like: $time = time(); // unix time now $day_limit = 28; // how many days to allow $day = 86400; // how many seconds in 24 hours(1 day) $difference = bcmul($day_limit,$day); // multiply the seconds($day) by the day

Re: [PHP] Deleting mySql records based on dates

2001-02-21 Thread Kevin Cawthorne
The reason I used that route was to show the logic. Yes its long- some people may not want a mysql reliant way of doing it. Kevin - Original Message - From: "Christian Reiniger" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 1:11 PM Subject: Re: [PHP]

[PHP] Editing a files hex?

2001-02-21 Thread Matt
Does anyone know how I can do this? I've got the file but before I write it to the server I was to change a hex value in the file, does anyone know how this could be done? Thanks, matt

[PHP] Bug: reference, foreach, array (FYI)

2001-02-21 Thread Yasuo Ohgaki
I've found out what's wrong with PHP4 partially. It might help people who are getting errors - document contains no data or like. You may get various strange PHP4 behavior with (possibly without) combination of reference, foreach and array if you don't pass expected values to functions. I've

Re: [PHP] Deleting mySql records based on dates

2001-02-21 Thread php3
Addressed to: "Kevin Cawthorne" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Kevin Cawthorne" [EMAIL PROTECTED] Wed, 21 Feb 2001 13:19:54 - The reason I used that route was to show the logic. Yes its long- some people may not want a mysql reliant way of doing

[PHP] IBase Help

2001-02-21 Thread Niel Zeeman
Hi Does anyone know where I can get hold of someone ( or someone here maybe) that has a high volume production site running PHP and interbase6? I would appreciate some assistance thank you Niel Zeeman Tel(W): (043)7014247 Cell: 082 651 4083 eMail: [EMAIL PROTECTED]

RE: [PHP] PHP vs. FreeTDS

2001-02-21 Thread Mark Roedel
-Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 5:03 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] PHP vs. FreeTDS I can't user mssql_connect, I'm using odbc_connect! Most of the websites for my company use odbc_connect.

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
On 2/20/01 5:55 PM this was written: I was about to buy a server from Alabanza. Am I ever glad I didn't. The only thing impressive about them is their connection. And for all I know they could be lying about that, as well. Usdatacenters.com has a great connection. We've had great help

[PHP] POST against GET

2001-02-21 Thread Denis L. Menezes
Hello friends. I am running PHP4 on an Intel Win NT server 4 sp6 machine. When I use POST the feedback form does not work but itw works when I use GET. Can anyone advise why this is so? The data that I am using are only 2 string variables of one word each. thank you denis -- PHP General

Re: [PHP] .ins file

2001-02-21 Thread Chris Lee
"when you first run it wants to save the file as makeins.phtml " what wants to save the file? IE ? your editor ? sounds like a browser issue, the browser has assoiated .ins as something else in the mime-types. Msg back so I could possibly help more. -- Chris Lee Mediawaveonline.com em.

Re: [PHP] array headaches

2001-02-21 Thread Jason Stechschulte
while($db-next_record()) { $menu[]["name"] = $db-f("name"); $menu[]["url"] = $db-f("topic_id"); } Why not use a for loop instead? for($i = 0; $db-next_record(); $i++) { $menu[$i]["name"] = $db-f("name"); $menu[$i]["url"] = $db-f("topic_id"); } Then you can access them through

[PHP] Displaying an image, that is pulled from a DB, inline

2001-02-21 Thread Boget, Chris
Is it possible to pull an image, stored as binary data in a mySQL table, and display it on a page inline? So it acts as if the image was pulled from the file system normally? If it is possible, could you point me to some online resources that would give information on how this is done? I've

Re: [PHP] POST against GET

2001-02-21 Thread Chris Lee
can you post a small code snippit ? -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Denis L. Menezes"" [EMAIL PROTECTED] wrote in message 970kab$e9j$[EMAIL PROTECTED]">news:970kab$e9j$[EMAIL PROTECTED]... Hello friends. I am

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
On 2/21/01 10:53 AM this was written: Check out MyBizHosting at http://www.mybizhosting.com/ Hope it holds up They are also an Alabanza Dedicated server client: From: http://www.mybizhosting.com/network/network.shtml The MyBizHosting NOC located in Baltimore, Maryland is OnNet with

[PHP] access violation

2001-02-21 Thread Wade Halsey
hi im running iis5 with php 4.04 as isapi accessing an interbase6 database i get the following error : PHP has encountered an Access Violation at 78003ABF this error occurs once an sql statement is run, the sql statement takes a paramater from a select box and then runs.It runs fine for a

[PHP] Accessing variables from a form

2001-02-21 Thread Don
Hi, I'm in a quandary here. I have a form which contains sever tables each containing similar fields. The number of tables are dynamic based on vales I retrieve from a database. Each table has the following fields: $name $phone $fax In order to differentiate the filed names in my form, I

RE: [PHP] Variable Strangeness

2001-02-21 Thread Boget, Chris
I came across this: $confidential = 0; echo "$confidential " . ($confidential == "yes"); In which "0 1" was printed. Is there something I'm missing? Yes. When comparing types, PHP generally typcasts one side of the operand to the type of what is on the other side. So in the

[PHP] Variable Strangeness

2001-02-21 Thread Jason Murray
Hi, I came across this: $confidential = 0; echo "$confidential " . ($confidential == "yes"); In which "0 1" was printed. Is there something I'm missing? Thanks, Jason -- Jason Murray Developer http://www.jwebmedia.com/ 1 877 525 jWEB -- PHP General Mailing List

[PHP] MIME type detection on file

2001-02-21 Thread Andris Jancevskis
Hi, is there suggestions how to determine what mime type is file? for example: .word - application/wnd-word .pdf - application/pdf Files are on local disk. Not accessible from web server. I'm interesting to determine it on linux (Apache) and win32(IIS 4.0) platforms. TIA, --

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Gary
Thomas Deliduka wrote: On 2/21/01 10:23 AM this was written: Check out http://www.hostpro.com/hosting/shared/unix_products.html It's a semi-dedicated virtual environment with complete root access. I've heard good things about Host Pro. I disagree! We have had to pull clients off

RE: [PHP] Terrible Hosting Experience

2001-02-21 Thread Jeff Oien
I would agree. I've had clients hosted on pair for quite a while. They are still using PHP 3 however. Jeff Oien while we're on this topic, i'd suggest people take a look at pair networks: http://www.pair.net i've had some good experience with them, almost complete control of the server

[PHP] Making .phtml an extension

2001-02-21 Thread Brandon Orther
Hello, I am trying to get .phtml to work for php files. How would I do this? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com --

[PHP] a good hosting experience

2001-02-21 Thread Julie Meloni
As a follow-up to the "Terrible Hosting Experience" posts, here's a "Good Hosting Experience" post. I completely and unabashedly recommend Hurricane Electric (www.he.net), for virtual or dedicated hosting. AND...they're not paying me a thing to say that. :) They have virtual host packages

RE: [PHP] Making .phtml an extension

2001-02-21 Thread Jon Haworth
You would add "phtml" to the line in your server config file that determines which extensions are handled by PHP To give more info we'd really need details of which server software you're running, and whether it's hosted by an external company or if it's in your bedroom. Cheers Jon

[PHP] How to get information from input type=image ...

2001-02-21 Thread Zenith
Hello everbody, if a have HTML document lik this: form action = "submit_to.php" input type="image" src="xxx" name="action1" input type="image" src="xxx" name="action2" /form How can know whether the user is pressed on the "action1" or "action2" image button?? -- PHP General Mailing

[PHP] How can I log message, by syslogd?

2001-02-21 Thread Zenith
As I want to make my application more similar to those linux application, I am going to see that, is it possible for logging information via syslog or similar stuff?? I will happy, if you can also give me advice or comment on the efficiency aspect!! Thnks -- PHP General Mailing List

RE: [PHP] Terrible Hosting Experience

2001-02-21 Thread Boaz Yahav
I'm at my site all day and I'm coming from Israel. I never had a downtime problem. As for service, I forwarded your mail to them and it took them about 5 minutes to reply that they would be more than happy to get your IP and go over any problem you might have reaching WeberDev.com. Now, how is

[PHP] session var not carrying

2001-02-21 Thread W.D.
unable to get these session variable to be used on thanks.php page Contact.php ?php session_start(); ?htmlhead/headbody form method="POST" action="/thanks.php" First Name: input type=TEXT name="FirstName" size=15p Last Name: input type=TEXT name="LastName" size=25p E-mail Address: input

[PHP] How to issue a new session without closing the browser?

2001-02-21 Thread Evelio Martinez
Hi! I have used your postgresql session functions in http://www.php.net/manual/en/ref.session.php with few changes. I have a login.php page that register 3 things - the pg_connect string, - a login flag to indicate that we already have done the login - actual time In a second php page

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Toby Miller
Here's another story to use as an "I told you so" if you choose to try them anyway. CI Host. We have been hosting with them for almost two years now. The only reason we never left was because we couldn't find anyone else offering the same redundant connections that we could actually verify. A

Re: [PHP] Variable Strangeness

2001-02-21 Thread php3
Addressed to: Jason Murray [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from Jason Murray [EMAIL PROTECTED] Wed, 21 Feb 2001 11:37:40 -0600 Hi, I came across this: $confidential = 0; echo "$confidential " . ($confidential == "yes"); In which "0 1" was

Re: [PHP] Making .phtml an extension

2001-02-21 Thread Michael Stearne
Or the .htaccess file of your top directory if you are virtual hosting and cannot change the httpd.conf file. Michael Pavel Jartsev wrote: Brandon Orther wrote: Hello, I am trying to get .phtml to work for php files. How would I do this? If you have Apache, then following line in

Re: [PHP] Accessing variables from a form

2001-02-21 Thread Pavel Jartsev
Don wrote: Hi, I'm in a quandary here. I have a form which contains sever tables each containing similar fields. The number of tables are dynamic based on vales I retrieve from a database. Each table has the following fields: ... Maybe this approach is simpler. If you create

[PHP] Configuring PHP4 on pair.com

2001-02-21 Thread Jeff Oien
I went through this installation process to install PHP4 on a pair server. When I try to run a PHP script I get an internal server error with this: Premature end of script headers: /usr/www/users//cgi-bin/php4.cgi What should I do from here? Thanks. Jeff Oien -- PHP General Mailing List

[PHP-CVS] cvs: php4 /ext/standard array.c

2001-02-21 Thread Andrei Zmievski
andrei Wed Feb 21 09:22:27 2001 EDT Modified files: /php4/ext/standard array.c Log: Fix memory leak. Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.94 php4/ext/standard/array.c:1.95 --- php4/ext/standard/array.c:1.94 Tue Feb 20

[PHP] AS400 Insert - The answer

2001-02-21 Thread Karl J. Stubsjoen
Okay, To insert data into an AS400 system (proven on Ver 4.4) you must first: Begin Journaling for the the file to insert into This is done by issuing the following command at the command prompt: STRJRNPF FILE(lib/file) JRN(jrnllib/jrnlfile) (where test is your libs and files) Let me know

Re: [PHP] Tough one?

2001-02-21 Thread Jason Stechschulte
On Wed, Feb 21, 2001 at 01:34:10PM -0500, Mike wrote: $keys = array_keys($HTTP_POST_VARS); for($x = 2; $x count($keys); $x++) { $updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$x]]."',"; } $updateString = ereg_replace(",$", "", $updateString); That should take care of the

[PHP] Re: I'm still stuck...

2001-02-21 Thread Ana Carolina Blanco Abascal
I'm working on a test envyroment, so I can't give you my URL because I can't pass through the firewall, the real site is http://www.bb.com.mx. With both files I see the same, it's kind of long Thanks a lot Extensions Extensions Additional Information PHP

[PHP] date format for MySQL

2001-02-21 Thread Jerry Lake
I have a field in my MySQL DB that is "DATE" on the form that populates this field, various people will by typing in dates in various formats how to I convert say 2/21/01 or 02-21-2001 etc... to 2001-02-21(MySQL Format) Jerry Lake- [EMAIL PROTECTED] Web Designer Europa

RE: [PHP] Print in html ?

2001-02-21 Thread Sascha Andres
hi, with ? lt;? readfile(""); ?gt; ? it should run. u could use echo (" readfile(\"\")") as well. sascha -- 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,

[PHP] I need some advice

2001-02-21 Thread Ana Carolina Blanco Abascal
Hi, Am I missing something How is it that I can read php code en htmls files but I can't read php3 files? I check that mod_php3.c is load with /usr/local/apache/bin/httpd -l I add the following lines: AddType application/x-httpd-php3 .php3 AddType

RE: [PHP] array headaches

2001-02-21 Thread Matt Williams
I have done it this way... $menu = array(); $count = $db-num_rows(); for($i = 0; $db-next_record(); $i++) { $menu[$i]["name"] = $db-f("name"); $menu[$i]["url"] = $db-f("topic_id"); } OK, so is there a better way of

[PHP] Why Arrays in Forms? ( Was Accessing variables from a form )

2001-02-21 Thread Brian White
Why do you have to specify multi-value fields in HTML forms specifically as PHP arrays? It seems incompatible with other CGI languages, and could make it difficlt to chop and change CGI engines in the background. At 19:08 21/02/2001 +0200, Pavel Jartsev wrote: If you create your fields like

Re: [PHP] date format for MySQL

2001-02-21 Thread Mark Maggelet
On Wed, 21 Feb 2001 11:36:02 -0800, Jerry Lake ([EMAIL PROTECTED]) wrote: I have a field in my MySQL DB that is "DATE" on the form that populates this field, various people will by typing in dates in various formats how to I convert say 2/21/01 or 02-21-2001 etc... to 2001-02-21(MySQL Format)

Re: [PHP] CGI BIN PHP

2001-02-21 Thread Chad Guilette
hehehehe...exact same hostill try that out tonight...as a side note have you been experiencing some problems lately with responsiveness from the server...i dont know if u r on the same one as me (ZEUS) but I was just curious...ive noticed some "issues" as of later.. When You Compensate For

[PHP] Generating percentages of numbers

2001-02-21 Thread Blake S.
I have a database of numbers: TOTAL HITS: 1000 PAGE 1: 500 PAGE 2: 250 PAGE 3: 250 How can I query these numbers and display back a percentage number? For instance with the numbers above: PAGE 1: 50% PAGE 2: 25% PAGE 3: 25% Or is their a process by which to store numbers for easily getting

RE: [PHP] Configuring PHP4 on pair.com

2001-02-21 Thread Jeff Oien
Wow, my server is being upgraded today. I did all that for nothing. How do I undo what I just did? I checked this morning and PHP3 was still in use on my server. That's why I tried to install PHP4. Jeff Oien Don't reference the absolute path to php4.cgi in your .htaccess it has to be relative

[PHP] Encryption

2001-02-21 Thread Chris
Hi, I am trying to do a simple encryption on a credit card number to store in a mysql text field. I also have to de-crypt the number after exporting to an access db. I tried to use xor encryption, but it seems to only work half the time, the other half, I can't seem to de-crypt the # properly,

Re: [PHP] How can I log message, by syslogd?

2001-02-21 Thread Chris Lee
look at http://www.php.net/manual/en/function.error-log.php you can tell php to send an error msg to the systems default logger (ie. syslog) -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Zenith"" [EMAIL PROTECTED] wrote in

Re: [PHP] PDF Problems

2001-02-21 Thread Michael Stearne
What OS and glibc version? There are problems with the set-up in RH7. Michael Sam Goin wrote: Hi, I am running PHP4.04pl1, pdflib3.03, jpeg6b, tiff3.5.5, apache1.3.17. Some of the pdf functions work, but others don't, such as pdf_new(). Does anybody know what the problem is? I have

Re: [PHP] image orientation/resizing images

2001-02-21 Thread Brian White
Three quite related posts all in rapid sucesssion At 17:48 21/02/2001 -0500, Jaxon wrote: Is there any way to take an image from the filesystem, say a .jpg or .png, and display it in a different orientation? e.g. 20 degrees to the right? At 17:18 21/02/2001 -0500, Dale Frohman wrote: Does

Re: [PHP] a good hosting experience

2001-02-21 Thread Mark Maggelet
The last time I used these guys I didn't like them because the software they were running was way out of date. I can deal with an old version of php, but mysql needs to be current because there's too many things that old versions can't do. Right now I'm looking for a cheap virtual host that runs

RE: [PHP] Form Variables!!!!!

2001-02-21 Thread Boget, Chris
My problem is: I wanna know the names of the variables that my actual page recives from the last page (using the POST method). while( list( $formVarName, $formVarValue = each( $HTTP_POST_VARS )) { echo "$formVarName = $formVarValuebr\n"; } Chris

[PHP] Session files? (Very Techy Questions)

2001-02-21 Thread Michael Zornek
Ok, I'm new to sessions and have a few questions... Here is my plan. I'm running a news type web site where subscribers have different privileges on what they can view and download. The privileges are stored in a mySQL DB. My plan is to make users login (thereby starting a session with all

RE: [PHP] Terrible Hosting Experience

2001-02-21 Thread Brian V Bonini
Hmmm, well I guess everyone has different experiences. We've been with them (Vservers) for 5 years now and never had a single problem with downtime... -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 11:49 AM To: [EMAIL PROTECTED] Subject:

[PHP-CVS] cvs: php4 /ext/odbc config.m4

2001-02-21 Thread Stig Bakken
ssb Wed Feb 21 10:23:53 2001 EDT Modified files: /php4/ext/odbc config.m4 Log: * dbmaker fix, shared support Index: php4/ext/odbc/config.m4 diff -u php4/ext/odbc/config.m4:1.35 php4/ext/odbc/config.m4:1.36 --- php4/ext/odbc/config.m4:1.35

[PHP-CVS] cvs: php4 /ext/pdf pdf.c

2001-02-21 Thread Rainer Schaaf
rjs Wed Feb 21 15:30:20 2001 EDT Modified files: /php4/ext/pdf pdf.c Log: When using pdf_get_buffer() and doing a correct cleanup by calling pdf_delete() this always resulted in a coredump (after everything was finished, so only visible in the

[PHP] Problems with posix_getpwnam

2001-02-21 Thread Liam Gibbs
What does it mean when I get the line 'posix_getpwnam(username) failed with "Error number not set" in /xx.php3 on line ##' printed? It doesn't return anything anymore. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-CVS] cvs: php4 /ext/standard array.c crypt.c php_rand.h rand.c

2001-02-21 Thread James Moore
jmoore Wed Feb 21 16:24:19 2001 EDT Modified files: /php4/ext/standard array.c crypt.c php_rand.h rand.c Log: Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 and rand. Index: php4/ext/standard/array.c diff -u

Re: [PHP] Making .phtml an extension

2001-02-21 Thread Pavel Jartsev
Brandon Orther wrote: Hello, I am trying to get .phtml to work for php files. How would I do this? If you have Apache, then following line in httpd.conf should help: AddType application/x-httpd-php .php .php3 .phtml -- Pavel a.k.a. Papi -- PHP General Mailing List

[PHP] resizing images

2001-02-21 Thread Dale Frohman
Does anyone know of a way to resize images as they are being uploaded? Would you write these images to a mysql database or straight to a file on the server? The pictures will be small 100k Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] a good hosting experience

2001-02-21 Thread Brian V Bonini
Wasn't 3.23 just declared stable like a couple weeks ago? -Original Message- From: Mark Maggelet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 1:50 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] a good hosting experience The last time I used

Re: [PHP] Getting the file a PHP script is called from

2001-02-21 Thread Chris Lee
$PHP_SELF echo $PHP_SELF; -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Dan Watt"" [EMAIL PROTECTED] wrote in message 970j62$6j0$[EMAIL PROTECTED]">news:970j62$6j0$[EMAIL PROTECTED]... As a beginner to PHP4, I wrote a simple

[PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread Paul Warner
I seem to be stuck on a very simple (to me) issue. I am trying to build a database of links for a site. A user inputs an HTML link into a text box which is stored in a SQL db. This works fine. I need to display this data on pages, and retrieving it into the page displays fine as well. The

Re: [PHP] Why Arrays in Forms? ( Was Accessing variables from a form )

2001-02-21 Thread David Robley
On Thu, 22 Feb 2001 08:24, Brian White wrote: That's the point - why do I have to have 'name="myArray[]"'. Why do I have to specify the '[]'s at all? Brian At 13:44 21/02/2001 -0800, jason cox wrote: You don't have to specify them as "PHP arrays". You can do something like: input

Re: [PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread Paul Warner
Simon- Thanks for the tip...I trued using the htmlspecialchars() which allowed the remainder of the form to display properly, but left no value in the textarea. Then I noticed a difference in the method I was using compared to yours - I'm still learning the ways of PHP so it will take me a

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
On 2/21/01 10:14 AM this was written: Speaking of hosting companies, has anyone had experience with a company called www.nomonthlyfees.com? You can see by the "Data Center" Information: -- The NoMonthlyFees.com NOC located in Baltimore, Maryland is OnNet with GlobalCenter (GC), Qwest

Re: [PHP] image orientation/resizing images

2001-02-21 Thread Jason Cox
At 17:48 21/02/2001 -0500, Jaxon wrote: Is there any way to take an image from the filesystem, say a .jpg or .png, and display it in a different orientation? e.g. 20 degrees to the right? At 17:18 21/02/2001 -0500, Dale Frohman wrote: Does anyone know of a way to resize images as they are

Re: [PHP] array headaches

2001-02-21 Thread David Robley
On Thu, 22 Feb 2001 02:11, Matt Williams wrote: I have done it this way... $menu = array(); $count = $db-num_rows(); for($i = 0; $db-next_record(); $i++) { $menu[$i]["name"] = $db-f("name"); $menu[$i]["url"] = $db-f("topic_id"); }

Re: [PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread David Allen Reid
Why store the html in the db? Why not have multiple db fields, say url and desc then when you grab them from the db to be outputed put them into the html print 'A HREF="'.$url.'"'.$desc.'/A'; Then you wouldn't have to input all the html when it gets stored in the db, not have to worry about

Re: [PHP] Why Arrays in Forms? ( Was Accessing variables from a form )

2001-02-21 Thread Brian White
That's the point - why do I have to have 'name="myArray[]"'. Why do I have to specify the '[]'s at all? Brian At 13:44 21/02/2001 -0800, jason cox wrote: You don't have to specify them as "PHP arrays". You can do something like: input type=text name="myArray[]" input type=text

Re: [PHP] htaccess problems disabling phplib

2001-02-21 Thread Simon Garner
From: "Gfunk" [EMAIL PROTECTED] Hi, I'm trying to disable phplib, and I have a .htaccess file consisting of the line php_value auto_prepend_file none And now I'm getting a 500 internal server error. Can anybody shed some light on what I'm doing wrong? Cheers, Gfunk It sounds like your

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-02-21 Thread Shane Caraveo
shane Wed Feb 21 15:57:29 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Initalize some of the global vars. Crashed under ms debugger without having them initialized. Index: php4/ext/mysql/php_mysql.c diff -u

  1   2   >