[PHP] What is the 'cli' interface.

2005-03-03 Thread Daniel Guerrier
I am getting this error using ezpublish to import RSS feeds. Does anyone know what this means. PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' interface. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

[PHP] ezpublish question -- take 2

2004-11-04 Thread Daniel Guerrier
Has anyone used the latest version of ezpublish? How did you learn how to use it? Do you recommend getting the book? __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com -- PHP General Mailing List (http://www.php.net/)

[PHP] ezpublish

2004-11-03 Thread Daniel Guerrier
Has anyone used the latest version of ezpublish How did you learn how to use it? Do you recommend getting the book? __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Media file browser cache question --- second try

2004-09-20 Thread Daniel Guerrier
And how would I do 1. Configure webserver to send the right headers for .wmv files. --- Marek Kilimajer [EMAIL PROTECTED] wrote: Daniel Guerrier wrote: I'm using this code to dynamically retrieve windows media files and send it to the browser. I thought the cache header would prevent

[PHP] Media file browser cache question --- second try

2004-09-19 Thread Daniel Guerrier
I'm using this code to dynamically retrieve windows media files and send it to the browser. I thought the cache header would prevent the file from being cached. The only problems is the .wmv file still ends up in my IE temp files folder. How can I prevent this from happening?

[PHP] Browser caching problem.

2004-09-18 Thread Daniel Guerrier
I'm using this code to dynamically retrieve windows media files and send it to the browser. I thought the cache header would prevent the file from being cached. The only problems is the .wmv file still ends up in my IE temp files folder. How can I prevent this from happening? ?php

Re: [PHP] Browser caching problem.

2004-09-18 Thread Daniel Guerrier
September 2004 07:12, Daniel Guerrier wrote: I'm using this code to dynamically retrieve windows media files and send it to the browser. I thought the cache header would prevent the file from being cached. The only problems is the .wmv file still ends up in my IE temp files folder

[PHP] Header list

2004-08-08 Thread Daniel Guerrier
I need to know what header to send when using readile with real media and windows media. Is there a list that has all header when sending rich media and images. Thanks __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!

[PHP] dynamic RAM file for real media

2004-08-05 Thread Daniel Guerrier
I am using PHP to dynamically create real audio links. The question is I was creating one .ram file for each real media file that I wanted to stream. The .ram files need to have absolute urls (which I do not like). I saw a few sites that use one .ram file but pass it a variable

Re: [PHP] Re: Usng Session Vaiable in WHERE Statement

2004-07-26 Thread Daniel Guerrier
Don't argue with machines, just give it what it wants. Just put the session variable in it's own variable and pass that to the sql statement. $logon = $_SESSION['logname']; $MembersDataQry = SELECT * FROM MembersData WHERE UserID='$logon'; --- Daniel Kullik [EMAIL PROTECTED] wrote: Hello

[PHP] gzip compression verification

2004-07-09 Thread Daniel Guerrier
I've enabled gzip compression of pages on my site. The question is, how do I check the size of the page being sent to verify that the page is being compressed. Danny __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we.

Re: [PHP] after submitting, working with data on same page

2004-07-09 Thread Daniel Guerrier
You have the data in the $_POST global. So submit it to _self as you already have and if $_POST['calcentry'] is present and not null then do your calculation then set the value of the sencond textarea to the result. --- Hull, Douglas D [EMAIL PROTECTED] wrote: I have my two html textarea fields

Re: [PHP] patRSS

2004-06-11 Thread Daniel Guerrier
try http://magpierss.sourceforge.net/ --- Edward Peloke [EMAIL PROTECTED] wrote: Does anyone use patRSS for the rss feeds? http://www.php-tools.net/site.php?PHPSESSID=99dd0269b03bee4046c3395d5561162 1file=/patMisc/rss.xml I don't see much online about it. It seems to work fine, but I now

[PHP] $_FILES passed by value

2004-06-03 Thread Daniel Guerrier
If I pass a $_FILES to an object by value. Does it create a copy of the actual posted files as well? In other words if I post a 2MB file to save.php and in turn pass $_FILES to an object $file-fileis($_FILES); Does that create 4MB of data in memory? Thanks Danny

Re: [PHP] determining number of rows in a mysql table

2004-03-29 Thread Daniel Guerrier
select count(*) from tablename --- Chris Wagner [EMAIL PROTECTED] wrote: this should be easy... how would one go about determining the number of rows in a mysql table, without actually wasting the time of querying for *. is this the best way? $result = mysql_query('SELECT * FROM

Re: [PHP] transactions

2004-03-29 Thread Daniel Guerrier
yup - use transactions. http://www.mysql.com/doc/en/COMMIT.html --- Matthew Oatham [EMAIL PROTECTED] wrote: Hi, Is there an elegant way to recover from DB errors in MySQL using PHP, i.e. transactions and rolling back - basically I have an insert statement then an update statement. if the

Re: [PHP] Re: Passing by conditional IF statement...why?

2004-03-22 Thread Daniel Guerrier
if(mysql_num_rows($res)) returns count of rows returned. if it 0 is false so it shouldn't execute the conditional code --- Ligaya Turmelle [EMAIL PROTECTED] wrote: I think it is because the query ran successfully and returns an empty set. So the pointer is still good. Respectfully, Ligaya

Re: [PHP] Running Apache in one machine and php in another

2004-02-06 Thread Daniel Guerrier
Make it a web service and use SOAP or XML-RPC http://phpsoaptoolkit.sourceforge.net/phpsoap/ --- Mrs. Geeta Thanu [EMAIL PROTECTED] wrote: Hi Jason, Thank you for your reply. This is an requirement in bioinformatics lab where they want to submit a huge genome sequence as a input to a program

Re: [PHP] Register Globals is_upload_file

2004-01-27 Thread Daniel Guerrier
http://us3.php.net/features.file-upload --- bill [EMAIL PROTECTED] wrote: I'm converting old code to work with Register globals turned off in php.ini. With it on, is_upload_file($filename) works fine but when turned off doesn't work at all. What am I missing.. Help me please !! -- PHP

Re: [PHP] Thumbnails in database

2004-01-17 Thread Daniel Guerrier
Why create thumnails? You can resize the images on the fly when needed. --- Kevin Waterson [EMAIL PROTECTED] wrote: I am storing some images in a database. No problems there. But how can I create a thumbnail do store in the db also without having to create the thumbnail image on the file

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-11 Thread Daniel Guerrier
Why not just maintain carts for users with accounts and maintain them indefinately. Users with out accounts can have there carts stored in a session and will become invalid when the session expires. --- Chris W. Parker [EMAIL PROTECTED] wrote: Hey there everyone. I haven't had time much to

Re: [PHP] How do i delete all escaped backslashes when i make a file???

2003-10-24 Thread Daniel Guerrier
When you make a file using data from what source? --- Bas [EMAIL PROTECTED] wrote: Any help appreciated. Regards, Bas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do you Yahoo!? The New

Re: [PHP] php IDEs

2003-10-24 Thread Daniel Guerrier
zend.com has one and PHPEdit use what you like. --- Lai, Kenny [EMAIL PROTECTED] wrote: can anyone recommend a good, and -free- PHP ide? thanks kenny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do i delete all escaped backslashes when i make a file???

2003-10-24 Thread Daniel Guerrier
http://us3.php.net/manual/en/function.addcslashes.php --- Bas [EMAIL PROTECTED] wrote: A textarea. Daniel Guerrier [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When you make a file using data from what source? --- Bas [EMAIL PROTECTED] wrote: Any help appreciated

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Daniel Guerrier
Use $_SESSION['var'] instead of $_SESSION[var] --- Golawala, Moiz M (IndSys, GE Interlogix) [EMAIL PROTECTED] wrote: Hi All, I have a problem with PHP not remembering sessions. for example: in page1.php: ? session_start(); $_SESSION[var] = Please help; ? form

Re: [PHP] Newbie - Can't get sessions to work

2003-10-22 Thread Daniel Guerrier
The second page should be ?php session_start(); echo { $_SESSION['foo'] . BR\n); echo { $_SESSION['bar'] }; ? you're missing the session_start() You need it on every page that you plan to use session on. --- John Nichel [EMAIL PROTECTED] wrote: Shaun Campbell wrote: I've

Re: [PHP] Newbie - Can't get sessions to work

2003-10-22 Thread Daniel Guerrier
Your right :) I think he's using the brackets instead of parenthesis in the echo's. Change the {} to () --- John Nichel [EMAIL PROTECTED] wrote: Daniel Guerrier wrote: The second page should be ?php session_start(); echo { $_SESSION['foo'] . BR\n); echo { $_SESSION

Re: [PHP] Pulling variables from a URL

2003-10-14 Thread Daniel Guerrier
It should be: echo $_GET['username']; You shouldn't have the dollar sign in the brackets. $ represents a variable the entire $_GET['username'] is the variable. --- Frank Tudor [EMAIL PROTECTED] wrote: I have a URL including variables... It looks like this:

Re: [PHP] Pulling variables from a URL

2003-10-14 Thread Daniel Guerrier
Who keeps telling people to use :) $_GET[$username] it should be $_GET['username'] $_GET is a key value pair array. the key is the name of the html form variable in this case username and the value is the value entered in the form. --- Adrian [EMAIL PROTECTED] wrote: lol variables in quotes -

Re: [PHP] Re: what is the best PHP editor?

2003-10-13 Thread Daniel Guerrier
http://www.phpedit.net It's good. How good, is up to you. --- Rob Adams [EMAIL PROTECTED] wrote: I like EditPlus too, but recently I've been using UltraEdit. http://www.ultraedit.com/ $35 registration. Has great column mode support. I use the macros and templates all the time. Has a

Re: [PHP] session experation

2003-10-09 Thread Daniel Guerrier
The session will die on browser close. What you are asking for is how to use cookies. You can set a cookie and use the information in that to determine user functionality http://us2.php.net/manual/en/function.setcookie.php --- Sam Folk-Williams [EMAIL PROTECTED] wrote: Hi, I want to extend

Re: [PHP] Verry strange GET behaviour

2003-10-07 Thread Daniel Guerrier
you need to configure your webserver recognize .cgi as a file to run the php interpreter against. i.e do whatever you did to make .php work again for .cgi --- John Wilcox [EMAIL PROTECTED] wrote: On the topic of passing args, can someone please explain to me why I'm unable to use $_GET or

Re: Fwd: Re: [PHP] How to hide url on a php link NOT post...

2003-07-11 Thread Daniel Guerrier
Umm.. Maybe you should use sessions. --- Mark [EMAIL PROTECTED] wrote: --- Jeff Harris [EMAIL PROTECTED] wrote: On Jul 10, 2003, Joey claimed that: |How can I hide this link so value can't be changed? |I don't want to change anything at the server level, and its not from a |form

Re: [PHP] Date Problem - Last Day Of Month

2003-03-31 Thread Daniel Guerrier
change for ($i=1; $i=12; $i++) to for ($i=1; $i12; $i++) --- Vinesh Hansjee [EMAIL PROTECTED] wrote: Hi there, can anyone tell me how to fix my code so that on the last day of the month, my code doesn't repeat the months... What the code suppose to do is, makes a drop down box from which

Re: [PHP] Help Cookies

2003-03-29 Thread Daniel Guerrier
http://www.php.net/manual/en/function.setcookie.php You can set the expire date to be far of into the future. --- Haseeb Iqbal [EMAIL PROTECTED] wrote: hi how can i set the cookies life to non expireable and what action should i take when the user signs out? Regards. -- PHP General

[PHP] webeditor

2003-03-28 Thread Daniel Guerrier
Does anyone know of an open source webeditor that I can use to enter information into a text area field. I have a custom CMS and I would like to add webeditor functionality to the textarea fields __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA

Re: [PHP] again: IIS vs Apache

2003-03-26 Thread Daniel Guerrier
The the LAMP platform is supposed to more stable but If it ain't broke why fix it? --- [EMAIL PROTECTED] wrote: Hi, I'm new here. I imagine that this question was made a lot of times in this list, but reading the archive i couldnt find a recently answer to this question: I want to

Re: [PHP] Yarrrrgggghhhhh || Simplest php question in existence........

2003-03-04 Thread Daniel Guerrier
Or $row = mysql_fetch_objects() then use $row-fieldname; --- Joel Colombo [EMAIL PROTECTED] wrote: not mysql_fetch_array unless u need those int indexes. mysql_fetch_assoc is the same thing but does not index the integer value, just the string field name. Joel Leif K-Brooks [EMAIL

[PHP] Maintain and ' in html textfields

2003-03-04 Thread Daniel Guerrier
If I have text containing quotes, single or double in my database, and I try to set the text as a value for my html text field. The quote in the text will prematurely close the value= or value='' html and cut of the remainder of the text. How can I prevent this. I curently have this: input

RE: [PHP] Maintain and ' in html textfields

2003-03-04 Thread Daniel Guerrier
I forgot to mention that I'm use add and stripslash on the data so magin quotes wouldn't help. The problem is the from the text is closing the from the html. --- Bryan Lipscy [EMAIL PROTECTED] wrote: Look up magic quotes in the docs.

RE: [PHP] Maintain and ' in html textfields - REPLY

2003-03-04 Thread Daniel Guerrier
I forgot to mention that I'm use add and stripslash on the data so magic quotes wouldn't help. The problem is the from the text is closing the from the html. --- Bryan Lipscy [EMAIL PROTECTED] wrote: Look up magic quotes in the docs.

Re: [PHP] addslashes(): Is it multi-byte safe?

2003-03-01 Thread Daniel Guerrier
why not try it and let us know. --- Jean-Christian Imbeault [EMAIL PROTECTED] wrote: Is addslashes() multi-byte safe? I will bu sing it to escape multi-byte input and wouldn't want it to mangle anything... Thanks, Jc -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Restate: using php to rotate ad banners

2003-02-27 Thread Daniel Guerrier
Don't reinvent the wheel :) http://www.phpadsnew.com/one/ --- Joseph Bannon [EMAIL PROTECTED] wrote: Anyone? Reply? I recently created some scripts to rotate ad banners on my site. One script is called show.php, which serves the banner. The other is called click.php, which redirects the

Re: [PHP] Output Numerical Month as String?

2003-02-25 Thread Daniel Guerrier
http://www.zend.com/manual/function.date.php --- CF High [EMAIL PROTECTED] wrote: Hey all. Easy question here (can't find the answer in php manual) In Cold Fusion I'm able to format a given numerical month value, say the third month, as #MonthAsString(3)# and it returns March What's

Re: [PHP] phpmyadmin duplication of sql

2003-02-24 Thread Daniel Guerrier
Duplicate column name 'y' Back It means what it said. You are trying to create a table with two columns with the same name. --- Michael Gaab [EMAIL PROTECTED] wrote: i am using the phpmyadmin interface to develop a small web based application. when i create a table i get the following

[PHP] Keep cariage returns

2003-02-24 Thread Daniel Guerrier
Is it possible to maintain the carriage returns in a database insert. When I input data from a textfield with returns into the database, it is lost on a subsequent select and print. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips,

[PHP] mcrypt dll's for php 4.3.x on windows

2003-02-23 Thread Daniel Guerrier
Hello folks, I found a working version of the php_mcrypt.dll and libmcrypt.dll for php 4.3.x. It may working on earlier versions, but I don't know for sure. You can download it from: http://home.earthlink.net/~dguerrier/data/mcrypt.zip __ Do you

[PHP] php_mcrypt.dll

2003-02-20 Thread Daniel Guerrier
I'm trying to use the mcrypt function on winXP using php 4.3.1 and IIS 5. First the dll would not load but I got past that by placing the libmcrypt.dll in my system32. Now it loads but when I try to use mcrypt I get Warning: mcrypt_encrypt(): Module initialization failed in

[PHP] Redirect without header or javascipt

2003-02-18 Thread Daniel Guerrier
Is there any to redirect in php with using header() and without the use of javascript? __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Keeping site metrics

2003-02-14 Thread Daniel Guerrier
Can someone direct me to a tutorial or provide insight on how to track site vistors usage. This would include Number of visits boken down by page Average time spent per visitor Total page views and Unique visitors. Thanks __ Do you Yahoo!? Yahoo!

Re: [PHP] Cleaning pasted Word text

2002-10-29 Thread Daniel Guerrier
Paste into notepad, the copy the text from notepad. Notepad should remove the high ASCII text. --- Brent Baisley [EMAIL PROTECTED] wrote: I think you have posted before and probably didn't get an answer. I'm not going to give you an answer (because I don't have one), but perhaps I can

Re: [PHP] Sessions with register_globals = off

2002-09-06 Thread Daniel Guerrier
Here you go http://www.zend.com/manual/function.session-is-registered.php --- Mauricio Cuenca [EMAIL PROTECTED] wrote: Hello, I'm working with register_globals turned off. I'm setting this session cookie: if ($nresult) { if (mysql_numrows($nresult)) { session_start();

[PHP] upload file

2002-08-25 Thread Daniel Guerrier
This should be very simple but it isn't working. upload.html has this: form action=upload2.php method=POST enctype=multipart/form-data input type=file name=userfile input type=submit name=submit value=submit /form and upload2.php has this: ?php echo(in post); echo($_POST['userfile]); ?

Re: [PHP] upload file

2002-08-25 Thread Daniel Guerrier
Thanks the quote wasn't the issue. Actually I shold have use $_FILE not $_POST . --- Chris Shiflett [EMAIL PROTECTED] wrote: Daniel Guerrier wrote: echo($_POST['userfile]); Do you mean $_POST[userfile] here? It looks like you're missing a quote. -- PHP General Mailing List

[PHP] PHP form port

2002-08-10 Thread Daniel Guerrier
How do i execute a form post with php? I want to validate CCard info etc.. then perform the post with no furtheraction from the user. Basically If not valid stay here and show whats wrong ELSE post form to process.php __ Do You Yahoo!? HotJobs -

[PHP] Credit Card Processing

2002-07-15 Thread Daniel Guerrier
Can anyone recommend a good and cheap shopping cart and credit card processing combo. Based on PHP of course. Thanks __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- PHP General Mailing List

[PHP] Credit Card Processing - Take Two

2002-07-15 Thread Daniel Guerrier
Can anyone recommend a good and cheap shopping cart and credit card processing combo. Based on PHP of course. Thanks __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com ---BeginMessage--- Can anyone recommend

[PHP] PHP Portal Server

2002-05-02 Thread Daniel Guerrier
Does anyone know of and used a PHP powed portal server? Which is the most robust and the easiest to maintain? __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com -- PHP General Mailing List

[PHP] oscommerce / Exchange project

2001-12-21 Thread Daniel Guerrier
Does anyone have any experience using this thing. I installed it and it seems to work, but it's very buggy. After the first hit the left nav, footer no longer appear. I know this a bad description of the problem but there's no rhyme nor reason to this.

[PHP] PHP SSL credit card transaction

2001-12-06 Thread Daniel Guerrier
Can some give me a brief synopsis or direct me to some information on how to create an ecommerce site using php. My main question is in the area of performing a secure credit card transaction. Do I need to use a third party shopping or can I create my own, if I create my own how do I integrate

[PHP] which merchant account

2001-12-03 Thread Daniel Guerrier
Can anyone suggest a bank and/or merchant account provider that you've used successfully in the past. __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/)

[PHP] PHP credit validation

2001-12-01 Thread Daniel Guerrier
What credit service(s) can intergrate with PHP __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] FEDEx API's

2001-07-06 Thread Daniel Guerrier
http://www.fedex.com/us/ebusiness/ecommerce/shipapi.html --- Brad Hubbard [EMAIL PROTECTED] wrote: On Fri, 6 Jul 2001 02:10, Daniel Guerrier wrote: The FED Es api suite says tat windows is a requirement. URL? Cheers, Brad -- Brad Hubbard Congo Systems 12 Northgate Drive

[PHP] FEDEx API's

2001-07-05 Thread Daniel Guerrier
The FED Es api suite says tat windows is a requirement. Has anyone intergrated this into a sight using PHP on linux. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP General Mailing List

[PHP] reset mysql root password

2001-07-03 Thread Daniel Guerrier
How do I reset the root mysql password if I don't know what it is in the first place. I don't care if I lose data. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP General Mailing List

[PHP] php mysql install

2001-07-02 Thread Daniel Guerrier
I'm trying to make php work with mysql but I can't even create a table. I'm receiving this error. [root@menace mysql]# mysqladmin create testdb mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server though socket '/var/lib/mysql/mysq.sock' (2)' Check

[PHP] second try - Mysql php install

2001-07-02 Thread Daniel Guerrier
I'm trying to make php work with mysql but I can't even create a table. I'm receiving this error. [root@menace mysql]# mysqladmin create testdb mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server though socket '/var/lib/mysql/mysq.sock' (2)' Check

[PHP] php 4.06 as an apache DSO Error

2001-06-23 Thread Daniel Guerrier
I'm trying to install PHP 4.06 as a DSO with apache 1.3.20 on redhat 7.1 and it produces this error. No of which are the problem. What else can it be?? Configuring SAPI modules checking for Apache module support via DSO through APXS... ./configure: /software/apache/bin: is a directory Sorry,

[PHP] Templates??

2001-06-18 Thread Daniel Guerrier
What the true advantage of using templates and where can I get info on using them? __ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/

[PHP] MSSQL7

2001-05-23 Thread Daniel Guerrier
Is it possible to import one MSSQL7 DB to another if they were installed using different sort orders? If yes, how? __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- PHP General Mailing List

[PHP] Template programming

2001-05-02 Thread Daniel Guerrier
Where can I find detailed info on creating websites using php templates. Hardcopy or online Thanks in advance __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- PHP General Mailing List