php-general Digest 23 Apr 2005 14:22:26 -0000 Issue 3414

2005-04-23 Thread php-general-digest-help
php-general Digest 23 Apr 2005 14:22:26 - Issue 3414 Topics (messages 213708 through 213720): Re: problem with the pager class not found 213708 by: Richard Lynch Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question 213709

[PHP] PHP cron sendmail

2005-04-23 Thread Richard Lynch
Somewhat OT... Okay, maybe a lot OT... I have these cron jobs on a computer, and I want the email output from them. But I don't want sendmail running 24/7, and when it does run, I'd just as soon it *ONLY* processed email and sent it out, without even opening up port 25 and listening. I guess

Re: [PHP] modify array data

2005-04-23 Thread Richard Lynch
On Fri, April 22, 2005 8:46 am, Jon Aston said: Is there a way to easily rotate array data? what I want to do is change from bob | bill | frank joe | jose | sam sally | jim | kim to | | | frank|| | | |bill | | sam| | |bob| | jose | |

[PHP] SSL use

2005-04-23 Thread ruel.cima
hi, im handling some important information that needs to be stored in my postgresql database via a php script. i´ve been reading the mails sent on this mailing list on SSL use. my postgresql server allows SSL connections but im not sure how to make use of this.id like to know more about ssl

Re: [PHP] I need do paging in php, I use ODBC Access

2005-04-23 Thread Richard Lynch
On Fri, April 22, 2005 7:31 am, Matthew Weier O'Phinney said: Actually, LIMIT is in ANSI SQL. Either the ANSI standard changed, or Rasmus needs to update his Bio... http://lerdorf.com/bio.php ...he can be blamed for the ANSI92 SQL-defying LIMIT clause in mSQL 1.x which has now, at least

Re: [PHP] Php defense

2005-04-23 Thread Richard Lynch
On Fri, April 22, 2005 6:58 am, Pablo D Marotta said: I`m defending the language, but people here want to migrate to asp.. They just keep on saying php is not used for huge corporation solutions, there asp goes better. Sounds to me like they've already decided on non-rational basis, and are

[PHP] Tesing Gzip files

2005-04-23 Thread Prathaban Mookiah
Hello, Is there a way to test if a .gz file is in a valid format. Functions like gzread, gzfile don't seem to care if the file is corrupt or not. gzeof also didn't work for me. I guess it is because it does not check for a valid .gz termination. Any ideas to go about doing this? Thanks in

Re: [PHP] Documentation for VAR

2005-04-23 Thread Satyam
I was looking for formal documentation because I am doing a pre-processor for some PHP extensions and wanted to know the right and formal description for it. Nevertheless, I think your examples below cover most cases, a help much appreciated. Thanks Satyam Jochem Maas [EMAIL PROTECTED]

[PHP] about session

2005-04-23 Thread bitblackbug
hi,everyone. can someone tell me the differences between the $_SESSION['time'] and session_register. thanksÉÁµçÓʼþ£¬¿ìËÙÎȶ¨£¬°²È«¿É¿¿£¡£¡ÓÐÎÒΪÄ㵲סÀ¬»øÓʼþ£¡

[PHP] paste part of mp3 to over an mp3

2005-04-23 Thread QT
Dear Sirs, Do you know any classes to paste some part of mp3 to over another mp3? Best Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] :Re: [PHP] about session

2005-04-23 Thread bitblackbug
Dear Devraj, thank you! that 's say I must session_register at fitst ,and use $_SESSION['time'] at secoend? and How can i get the value of the form's element? just use $time ? now I have a form named form1 in file1.php , whose active="file1.php",in form1,it have a text input . how can i

[PHP] Re: Php defense

2005-04-23 Thread Matthew Weier O'Phinney
* Pablo D Marotta [EMAIL PROTECTED]: I`m defending the language, but people here want to migrate to asp.. They just keep on saying php is not used for huge corporation solutions, there asp goes better. I know it isn´t correct, but I don´t know much about well-known websites using php

Re: [PHP] Php defense

2005-04-23 Thread Dasmeet Singh
wikipedia.org also uses PHP - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -K. wrote: As i recall Yahoo uses PHP. Quick Google turned up: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm Also i remember it was a pretty big deal

[PHP] MSSqlServer table/field information

2005-04-23 Thread Chris Boget
Is there a way to programatically get information about a specific table and/or field? And also any constraints that a field has? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MSSqlServer table/field information

2005-04-23 Thread Mark Rees
Look into the INFORMATION SCHEMA views in SQL Books Online for a starting point. Mark -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED] Sent: 22 April 2005 15:51 To: PHP General Subject: [PHP] MSSqlServer table/field information Is there a way to programatically get

Re: [PHP] Re: reverse MD5 ???

2005-04-23 Thread Satyam
If you are happy with infinite answers, I guess that is Ok. In practice, since you would probably wouldn't expect numbers (or strings) infinetly long, assuming that you just have N possible initial values, you would have N/3 possible answers. I thought the question was about getting one

[PHP] Documentation for VAR

2005-04-23 Thread Satyam
I've been going through the manual and haven't found 'var' documented anywhere, as far as I found, it is just used, and that's it. It seems it first appears when it talks about Classes, and it is just used in the examples as if everyone knew what var is supposed to do. Thanks Satyam -- PHP

Re: [PHP] MSSqlServer table/field information

2005-04-23 Thread tg-php
http://www.sqlzoo.net/howto/source/z.dir/i12meta.xml Check out the META DATA section of this page (link above). I used it to create a database 'walker' app that lets you search for table names, column names, etc. I was working on a HUGE database that wasn't documented well and nobody could

RE: [PHP] Documentation for VAR

2005-04-23 Thread Jay Blanchard
[snip] I've been going through the manual and haven't found 'var' documented anywhere, as far as I found, it is just used, and that's it. It seems it first appears when it talks about Classes, and it is just used in the examples as if everyone knew what var is supposed to do. [/snip] It is

Re: [PHP] Documentation for VAR

2005-04-23 Thread Richard Davey
Hello Satyam, Friday, April 22, 2005, 3:59:38 PM, you wrote: S I've been going through the manual and haven't found 'var' S documented anywhere, as far as I found, it is just used, and that's S it. It seems it first appears when it talks about Classes, and it S is just used in the examples as if

[PHP] Dynamic Generating reports to print

2005-04-23 Thread mbneto
Hi, I'd like to generate reports (with tabular data) to print from php. Now I am using a mixed solution where I save the data in a reports database and I have a delphi app installed pooling the db for pending reports and print it. My plan is move away from the current solution but I am still

Re: [PHP] Dynamic Generating reports to print

2005-04-23 Thread Steve Brown
My plan is move away from the current solution but I am still confused of how am I going to get control of the layout of the report. Generate a PDF ? Use CSS ? Some of the trick parts are, for instance, to have the same header in all pages of the same report, if I have tabular data greater

[PHP] Strange problem with picture Upload

2005-04-23 Thread Labunski
Hi guys, I have to say, I've written so many scripts that had file upload functions included, but this time something strange is happening. The script passes the IMAGE_TYPE check, and picture's name stores in the database (so I guess the picture should have been stored in the dir.), but when I

[suspicious - maybe spam] [PHP] [suspicious - maybe spam] Re: [PHP] [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question

2005-04-23 Thread Christian Stocker
On 4/23/05, Brian Dunning [EMAIL PROTECTED] wrote: All the resources I've found on the web for URL encoding values within an XSL stylesheet are either .NET or Java, so I'm looking for some help with how to do this using PHP's special flavor of XML/XSL. Within the XSL doc, I've got:

Re: [PHP] Can I use $_REQUEST for file uploads?

2005-04-23 Thread Philip Olson
Thanks for the reponse. I tested again, but it was not the problem with ENCTYPE. I am getting file with $_FILES. I think this is due to CGI configuration if not with php.ini. Because when I check the version by using PHP -v command, it shows 4.3.10 (cgi) but when check that using phpinfo()

[PHP] PHP vs ASP .NET

2005-04-23 Thread Reynier Perez Mira
Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big personalities, articles to

[PHP] Re: SSL use

2005-04-23 Thread Bruno Wolff III
On Fri, Apr 22, 2005 at 16:38:29 -0400, ruel.cima [EMAIL PROTECTED] wrote: hi, im handling some important information that needs to be stored in my postgresql database via a php script. i´ve been reading the mails sent on this mailing list on SSL use. my postgresql server allows SSL

Re: [PHP] Zend Certification Exam

2005-04-23 Thread M Saleh EG
Anyone who passesd? On 4/22/05, Aaron Gould [EMAIL PROTECTED] wrote: M Saleh EG wrote: Hi everyone.. kind of OT Anyone who's passed it in the list? I'm having my exam on May 7th. Gone through the guide book once. Sounds easy according to the guide. I dont think it's as easy as i'm

Re: [PHP] Zend Certification Exam

2005-04-23 Thread Chris Shiflett
M Saleh EG wrote: Anyone who's passed it in the list? I'm having my exam on May 7th. Gone through the guide book once. Sounds easy according to the guide. I dont think it's as easy as i'm thinking it is any experience? If you think it's easy based on the guide, you're probably fine,

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread Mark Charette
Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics, intrview to big

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread hanez
On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread M Saleh EG
I don't recommand this article at Oracle at all!! It's a very biased one and intends to misguide as a marketting gig. I'd like you to read healthy articles that truely compare. BTW ASP.nethttp://ASP.netcan not be compared with PHP5 because they are totaly different. It's like comparing Apples and

[PHP] Re: PHP vs ASP .NET

2005-04-23 Thread Satyam
Search for PHP defense in the subject line for a thread that is/was running since a few days ago. Satyam Reynier Perez Mira [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that

Re: [PHP] Dynamic Generating reports to print

2005-04-23 Thread Satyam
The commercial product you might be thinking off might be Crystal Reports: http://www.businessobjects.com/. I have not worked with their product since their version 7, but I remember that if you wanted a report in HTML what they did is send zillions of absolutely positioned divs with width and

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread hanez
On Saturday 23 April 2005 20:27, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread M Saleh EG
I did not say that you compared! Sorry if I put it that way. I said the article at Oracle does that. In all the cases that article does not fairly illustrate anything. It's a merketing trick for novices! On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 20:27, M Saleh EG

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread Johannes Findeisen
On Saturday 23 April 2005 20:57, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 20:27, M Saleh EG wrote: On 4/23/05, hanez [EMAIL PROTECTED] wrote: On Saturday 23 April 2005 19:33, Reynier Perez Mira wrote: Hi list: I have a problem

[PHP] radio buttons in $_POST

2005-04-23 Thread Ashley M. Kirchner
I have this form.html: form method=post action=form.php text input input type=text name=input_testbr / radio input1 input type=radio name=radio_test value=test1 / radio input2 input type=radio name=radio_test value=test2 / input type=submit value=Submit /form Then I have this script

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread Hegeds Balzs
Hi, You solve the problem yourself: the radio input does show up once one of the radios is checked. When it is unchecked is isn't set...if you need to assign it a value in any circumstances you should test it with ?php $chkbox1 = (isset($_POST[radio_test])) ? true : false; ? for example (of

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread M Saleh EG
That's because Radio Buttons and Check Boxes do not return anything if not checked or selected. So you gotta explicitly do it ur self. That is u gotta check for it's validity and non-empiness. e.g. in ur scenario if(!isset($_POST['radio_test'])) { //print out all the options unselected } else {

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread Janet Valade
Ashley M. Kirchner wrote: I have this form.html: form method=post action=form.php text input input type=text name=input_testbr / radio input1 input type=radio name=radio_test value=test1 / radio input2 input type=radio name=radio_test value=test2 / input type=submit value=Submit /form Then

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread Justin Gruenberg
None input type=radio checked name=radio_test value=None / And if you didn't want it to show to the user (because they have to make a choice anyway) . . . you can use this css: input[value=None] { display: none; } You should then always have a value to play with in PHP, and the user

[PHP] hosted 2 factor authentication services?

2005-04-23 Thread 1 2
Hi I am using php and apache 2 on linux for a web application. Don't know if this is off topic but I don't know where else to ask. I am looking for some place relatively cheap that could provide hosted authentication services along with time based authenticater fobs like those found from

Re: [PHP] hosted 2 factor authentication services?

2005-04-23 Thread M Saleh EG
www.dreamhost.com http://www.dreamhost.com is the best choice and the best value for money! Check it out. On 4/23/05, 1 2 [EMAIL PROTECTED] wrote: Hi I am using php and apache 2 on linux for a web application. Don't know if this is off topic but I don't know where else to ask.

Re: [PHP] radio buttons in $_POST

2005-04-23 Thread M. Sokolewicz
Justin Gruenberg wrote: None input type=radio checked name=radio_test value=None / And if you didn't want it to show to the user (because they have to make a choice anyway) . . . you can use this css: input[value=None] { display: none; } You should then always have a value to play with

Re: [PHP] PHP vs ASP .NET

2005-04-23 Thread Greg Donald
On 4/23/05, Reynier Perez Mira [EMAIL PROTECTED] wrote: I have a problem with ASP .NET community in my Universty and I need to solve it. The thing is that they say me that ASP .NET is better than PHP, so I need information to response they about this theme. Can you put me some sites, statics,

Re: [PHP] Zend Certification Exam

2005-04-23 Thread Greg Donald
On 4/23/05, M Saleh EG [EMAIL PROTECTED] wrote: Anyone who passesd? If I can pass.. well, good luck! :) -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tesing Gzip files

2005-04-23 Thread The Disguised Jedi
I'd generate an MD5 sum on a file you know is valid, and compare it against that in your script. On 4/23/05, Prathaban Mookiah [EMAIL PROTECTED] wrote: Hello, Is there a way to test if a .gz file is in a valid format. Functions like gzread, gzfile don't seem to care if the file is corrupt

[PHP] help for me about session

2005-04-23 Thread Josephson Tracy
hi everyone, when i study php, i have a problem as following: - file1.php - but when the 2ed access the file1.php the value of $NextCourse is the $NextCourse in the , Not the value of document.form1.NextCourse.value. could someone tell me

Re: [PHP] help for me about session

2005-04-23 Thread Steve Buehler
At 09:35 PM 4/23/2005, Josephson Tracy wrote: hi everyone, when i study php, i have a problem as following: - file1.php ? if($NextCourse == 1){ do something;} else($NextCourse ==){do something other } ? - but when the 2ed access the file1.php the value

Re: [PHP] help for me about session

2005-04-23 Thread Pedro Luis Cruz Riguetti
-- mierda carajo saquenme de sta lista de mierda q llema mi correo de huevadas rapido carjo.nierdas --- Banco de Crédito BCP - Dedicados a hacerte la Banca más simple. Visita nuestra Banca por Internet http://www.viabcp.com

[PHP] Re:Re: [PHP] help for me about session

2005-04-23 Thread Josephson Tracy
- Original Message - From: Steve Buehler To: Josephson Tracy ;php-mailing-lists Subject: Re: [PHP] help for me about session Sent: Sun Apr 24 10:54:34 CST 2005 > At 09:35 PM 4/23/2005, Josephson Tracy wrote: > > > >hi everyone, > >when i study php, i have a problem as following:

Re: [PHP] Dynamic Generating reports to print

2005-04-23 Thread Dan Rossi
On 24/04/2005, at 12:43 AM, Steve Brown wrote: I used to encounter the same problems with reporting in our business software. You can generate reports and spit out HTML in a new window and have the user print the report from the browser, but that has many drawbacks. It only works with simple

Re: [PHP] reverse MD5 ???

2005-04-23 Thread D. Wokan
William Stokes wrote: Hello, I have a system that uses certain id info. This info is stored in a session cookie in MD5 format. At certain parts of the code I need to update or insert to MySQL DB with that id info value in cleartext. Is this possible? If so, how to put this to a sql query?

Re: [PHP] MSSqlServer table/field information

2005-04-23 Thread D. Wokan
Chris Boget wrote: Is there a way to programatically get information about a specific table and/or field? And also any constraints that a field has? thnx, Chris sp_help @objname='{tablename}' This will actually return several recordsets which are probably available individually in the

Re: [PHP] image maps in PHP

2005-04-23 Thread Dasmeet Singh
John Coppens wrote: On Fri, 22 Apr 2005 19:11:23 +0530 [EMAIL PROTECTED] (Dasmeet Singh) wrote: Actually I am not able to make image maps because of uneven state boundaries.. Can you please suggest some tools... I haven't used any yet... Did you check GIMP? It has an option to make HTML image