[PHP] Problems connecting to a MySQL database

2002-12-12 Thread eric
ed: $db = mysql_connect("the_host", "the_user", $cfg['Servers'][4]['password']); it works fine. But I don't think this is right. Any ideas as to why this is happening? Thanks much! Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread eric
A prompt? Not sure I understand. The first time around it connects ok with PHP. I can retrieve all the rows. It's the 2nd time where it doesn't. Jeff Bluemel wrote: > have you tried connected to the mysql database from a prompt before using > php??? > > > "E

[PHP] How do I access a hash from an extention/module?

2002-06-05 Thread eric
give me a small example how this is done? I have looked in the source code of the other extentions but I couldn't find anything that could be of any help (I might have missed it though). -- #!perl # Life ain't fair, but root passwords help. # Eric

[PHP] Re: Static Array vs MySQL query

2003-11-28 Thread Eric
a special script when there is any updates that updates a include file with the data. Under the generation process, you can simply make a script to get the data, and dynamically make a php file that will be stored. Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Test

2003-11-29 Thread Eric
why do you test here at the honored PHP General mailing list? "César aracena" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Send test :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem loading fonts in gd()

2003-11-29 Thread Eric
e: Warning: imageloadfont(): Error reading font in c:\program files\apache group\apache\htdocs\gd_test.php on line 35 Does anyone know how to properly load fonts into gd, without getting this error message? Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] Problem loading fonts in gd()

2003-11-29 Thread Eric
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 29 November 2003 23:15, Eric wrote: > > > I have a small problem about loading fonts with imageloadfont() > > > > I have copyed fonts with the extension .fon or .ttf to

[PHP] Has anyone created or called a Web Service from PHP? (SOAP)

2002-02-18 Thread Eric
I have a PHP webstore that I want to call my web service that is running on an IIS machine. The web service returns XML. Has anyone called or written a web service with PHP? TIA Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: stupid problem

2002-02-18 Thread Eric
How are you getting the variable from the web page? "John Gurley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am getting a variable from a web page ($inst) which is looked at by the > loop: > > if ($inst == 2) > { > do stuff > } > > the problem is that no

[PHP] HTTP GET with Digest Auth

2002-04-25 Thread Eric
$a2 = "GET:$uri"; $ha2 = md5($a2); $response = "$ha1:$nonce:$nc:$cnonce:$qop:$ha2"; echo $response; $digest_resp = md5($response); This is the example given in the RFC but the hash returns the incorrect value and doesn't match the one

[PHP] The Apache PHP problem

2002-05-15 Thread Eric
maybe if there is no idea for the group I might uninstall everything and if I can remember which versions worked the best start again Have a happy day, sorry to be a worry >From Eric --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). V

[PHP] Troubles compiling Apache with PHP4

2001-11-08 Thread Eric
n function 'my_compress_alloc': my_compress.o(.txt+0x12a): undefined reference to 'compress' collect2: id returned 1 exit status make[2]: ***[target_static] Error 1 make[1]: ***[build-std] Error 2 make: ***[build] Error 2 What am I missing? any help would be appreciated, Thanks Eric --

[PHP] Apache User Groups?

2001-11-10 Thread Eric
Does anyone know of a usergroup for Apache? I am having difficulties finding one and am having some troubles with Apache. Thanks Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] trying to get started in PHP

2001-06-30 Thread Eric
sample file I could put on a web site to try out. >From Eric -- 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] makeing a post

2001-06-30 Thread Eric
Hi How do you make a posting is group PHP >From Eric --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.262 / Virus Database: 132 - Release Date: 12-Jun-01 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] GUI for PHP

2001-08-29 Thread Eric
Does anyone have any suggestions for GUI PHP programming software. I am new the PHP and would like to make the learning experience as quick and simple as possible. Thanks for your help, Eric JT Harlow www.sisgrate.com Phone: 360 891 6991 Fax: 360 891 6865 Email: [EMAIL PROTECTED]

Re: [PHP] Re: Best way to test for form submission?

2009-08-28 Thread Eric
- Original Message - From: "Adam Jimerson" To: Sent: Friday, August 28, 2009 11:21 AM Subject: [PHP] Re: Best way to test for form submission? > On 08/27/2009 11:09 PM, Adam Jimerson wrote: >> This question might give away the fact that I am a php noob, but I am >> looking for the bes

Re: [PHP] File Open Prompt?

2009-08-28 Thread Eric
exec("xcopy ".$page." ".$topage.""); >> } >> $orig_file = $topage."\\".$objectid.".0D9"; >> //echo $orig_file; >> $new_file = $topage."\\".$objectid.".tif"; >> //echo $new_file; >> >>

Re: [PHP] Converting URL's to hyperlinks.

2009-08-29 Thread Eric
re printing as usual way $url = htmlentities('http://www.mysite.com/index.php?act=1&t=10'); echo "mysite"; - Eric > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

Re: [PHP] File Open Prompt?

2009-08-29 Thread Eric
will need to add some headers to the page to popup the prompt, at >> least >> > > with >> > > these. >> > > >> > > $filename = 'somefile.tif'; >> > > $filesize = filesize($filename); >> > > >> > > header('Content-Typ

Re: [PHP] File Open Prompt?

2009-08-29 Thread Eric
- Original Message - From: "Eric" To: ; "Ralph Deffke" Cc: Sent: Saturday, August 29, 2009 5:01 PM Subject: Re: [PHP] File Open Prompt? > > - Original Message - > From: "Ashley Sheridan" > To: "Ralph Deffke" > Cc:

[PHP] How can I check for characters in a $_POST[] variable?

2011-09-22 Thread Eric
I have this problem when using php because my computer recognizes the characters "." and ".." as an existing file when I use file_exists. Also I want to check $_POST["username"] for characters other then A-Z a-z and 0-9. If it contains anything other then, I would like to prompt the user but I can'

[PHP] RE: How can I check for characters in a $_POST[] variable?

2011-09-22 Thread Eric
if(preg_match('(.*)^[A-Za-z0-9]+', $_POST['username']) !== 0) { echo ""; echo "Username must only contain A-Z and 0-9"; include("register.html"); exit; } I used the code above but I now get this error message Warning: preg_match() [function.preg-match]: Unknown modifier '^' in C:

[PHP] Re:

2011-09-22 Thread Eric
Thanks Very much I used, preg_match('/[[:punct:]]/', $_POST['username']) !== 0 and it works without errors. The reason I can't just use is_file which I wish I could is because windows doesn't allow question marks or some wierd character. It decides to not allow php to make the file if there are odd

[PHP] Non-blocking sockets

2006-10-27 Thread Eric
When I create a socket/stream that connects to a news sever and try to recv data from the socket when there is nothing there (Like if the server sends one line and I call recv twice) the socket freezes. I assume this is because using socket_create or fsockopen creates a blocking TCP/Stream sock

Re: [PHP] Non-blocking sockets

2006-10-27 Thread Eric
Stut wrote: Eric wrote: When I create a socket/stream that connects to a news sever and try to recv data from the socket when there is nothing there (Like if the server sends one line and I call recv twice) the socket freezes. I assume this is because using socket_create or fsockopen creates

[PHP] IMAP functions for NNTP

2006-10-29 Thread Eric
How would I go about listing all newsgroups via the IMAP functions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] socket_recv

2006-10-29 Thread Eric
Is there a reccomended size of data to pull in with socket_recv (Such as 1024) or can I pull in 981132487 and it wont make a difference? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Code execution speed

2006-11-06 Thread Eric
I was looking for some ways to speed up the execution of my code. Im connecting to and displaying information from a newsgroup via sockets. The socket_recv's are slowing it down. What things other than the socket_recv's can I change to make the code faster. Just general tips. Thanks in advance.

[PHP] imagecreate undefined...?

2004-02-13 Thread Eric
)? Any suggestions on how to fix the problem? Thank you. -- == Eric Gorr = http://www.ericgorr.net = ICQ:9293199 === "Therefore the considerations of the intelligent always include both benefit and harm." - Sun Tzu == Insults, like violence, are the last refuge of the inc

[PHP] Assistance debugging php 5.x.x

2005-11-22 Thread Eric
y: Email/MSN:ericvanblokland 'AT' gmail.com Skype:footsteps_eric Thank you in advance and kind regards, Eric van Blokland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Assistance debugging php 5.x.x

2005-11-22 Thread Eric
7;t exists. This is not a typo, the key mysterialy changed to "Nederlancs"! The "d" became a "c". Enough prove for me, however, there is still the problem of finding the cause and a solution. I'm going to double check if everything I said above is correct and I will

RE: [PHP] Assistance debugging php 5.x.x

2005-11-22 Thread Eric
[snip] Give us an example of the code where it breaks and also any error messages. That will give us a starting point. [/snip] I think you don't understand completly, the project exists out of tens of thousands lines of code. - I don't have a short reproduce script - I don't know if it's possible

Re: [PHP] Assistance debugging php 5.x.x

2005-11-22 Thread Eric
[snip] It sounds like you are storing an object property sometimes as a string, and sometimes as an array. [/snip] I can assure you, this has nothing to do with this issue, the only type-juggling I do once in a while is byte/int/long/double/string -- PHP General Mailing List (http://www.php.net/

RE: [PHP] Assistance debugging php 5.x.x

2005-11-22 Thread Eric
this using something like a VNC terminal and we will have a look at the code as well. It's 11:45PM here so I'm off to bed, I'll be back in the morning. Thanks again and goodnight, Eric van Blokland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] inserting preexisting image inside dynamic image

2002-11-24 Thread Eric Pierce
Hi there... Just wondering... when creating a dynamic image, is there a way/fuction to insert an existing image using x,y coordiantes for precision? I'm trying to make a statistical graph script using some nice looking graphics. Thanks for any tips!

RE: [PHP] inserting preexisting image inside dynamic image

2002-11-25 Thread Eric Pierce
That'll do it... thanks a lot! Eric Martin Towell <[EMAIL PROTECTED]> wrote: try these: ImageCopy*() -Original Message- From: Eric Pierce [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 2:57 PM To: [EMAIL PROTECTED] Subject: [PHP] inserting preexisting image ins

[PHP] Re: Removing a comma from a form field

2003-02-17 Thread Eric Golpe
Just a thought.. If it is only a comma, and it is a form field, why do this on the server side, Perhaps a javascript onsubmit function that traps the comma (indexOf/charAt) and then shift the values over with substring. Since you know it's USD then you could do value.length-3 or something similar

[PHP] max_execution_time and set_time_limit() problem.

2003-03-03 Thread Eric Wood
dling script... still errors at 30 seconds. Is this just a good 'ol bug in my Redhat 7.3 version of PHP?: $ rpm -q php php-4.1.2-7.3.6 Thanks, -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] max_execution_time and set_time_limit() problem.

2003-03-04 Thread Eric Wood
Even set_time_limit(0) does extend the timeout. Always a 30 second timeout. Any other ideas? thanks, -eric wood > I'm uploading a large file through my web page and after 30 seconds, the > fails with an error. I bumbed the max_execution_time parameter in > /etc/php.ini to 6

[PHP] Stupid Question

2003-03-07 Thread Eric Conrad
How do you make a command not return a warning... I thought it was the @ sign, but i think i'm wrong, and everything i've tried hasn't worked, i want this for a switch command if that matters. -Eric Conrad -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] DomXML and Zend Engine 2

2003-03-13 Thread Eric Daspet
ly a "not compatible and no work planned to make it compatible" ? This answer will help me to planify the tests and evolution of my application. Thanks. [1] script tested : create_element('test'))?'succeed':'failed' ; -- Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DomXML and Zend Engine 2

2003-03-13 Thread Eric Daspet
correct value ('1.0' with a dot). So ... my probleme remain :) -- Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd PHP/ErrorDocument behavior

2003-07-14 Thread Stewart, Eric
rts: script not found or unable to stat Anybody have any clues? Need any more information? Eric Stewart - Network Admin - USF Tampa Library - [EMAIL PROTECTED] SCUBA Diver: 220 Dives Most Recent: 05/10/03 Chankanaab Park, Cozumel GeoCacher:58 Found Most Recent: 07/04/03 GCG

[PHP] Re: header & headers_sent BUG

2003-07-24 Thread Eric Fleming
up blank. I am basically trying to adjust the navigation on each page depending on the page I am on. I am just learning PHP, have programmed in ColdFusion for years and in ColdFusion this was not a problem. Any ideas? Eric Fleming -- PHP General Mailing List (http://www.php.net/) To

[PHP] Include Problems

2003-07-24 Thread Eric Fleming
up blank. I am basically trying to adjust the navigation on each page depending on the page I am on. I am just learning PHP, have programmed in ColdFusion for years and in ColdFusion this was not a problem. Any ideas? Eric Fleming -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Include Problems

2003-07-24 Thread Eric Fleming
Here is a snippet from the header file. You can see that I am just trying to determine what the value of the subnav variable is set to in order to determine which navigational link is bold. There are other places the variable is used, but you can get an idea based on what is below. Thanks for an

Re: [PHP] Include Problems

2003-07-24 Thread Eric Fleming
Yeah, that is a problem, but I can't even print out the value of the subnav variable. It prints nothing when I try to print the variable. "Jason Giangrande" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Eric, If you want to check to see if $subnav is

Re: [PHP] Include Problems

2003-07-24 Thread Eric Fleming
Here is a snippet from the header file. You can see that I am just trying to determine what the value of the subnav variable is set to in order to determine which navigational link is bold. There are other places the variable is used, but you can get an idea based on what is below. Thanks for an

Re: [PHP] Include Problems

2003-07-24 Thread Eric Fleming
What is different about the code that you wrote except that you have the html being output by php? "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] <-incHeader.php--> [Site Name] home <-incHeader.php

Re: [PHP] Include Problems

2003-07-24 Thread Eric Fleming
I have ran it on my local machine and at my hosting company and it doesn't work for me. I even tried using wrote in message news:[EMAIL PROTECTED] > Eric, I tried your code on my machine and it seems to print the name of > the variable just fine. The only change I had to make to yo

Re: [PHP] Include Problems

2003-07-24 Thread Eric Fleming
I figured out what was wrong with it, thanks for all your help. I hate syntax errors. I needed to echo the variable when trying to display it and the double "=" helped resolve the other problem. Thanks everyone. "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Jay

Re: [PHP] "back" works in opera but not in internet explorer

2003-08-25 Thread Eric Wood
To fix this, I put: session_cache_limiter ('private, must-revalidate'); at the beginning of all my pages. Seems to work. -eric wood anders thoresson wrote: > When I push the back buttom in Opera, I get back to the previous > (database/php-generated) page in my site, but w

[PHP] Re: php4isapi.dll and header("Location: ...")

2003-06-06 Thread Eric Tonicello
> Have you tried: > ob_end_clean(); > header("Location: http://...";); > to throw away the contents of the output buffer before sending the > Location header, then its nice and clean. Yes I tried ... Other idea ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] session not persisting

2003-06-03 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running the latest version of php. And have both "register_globals" and "track_vars" set to "ON". Well, the first script prints out the session var fine, but not th

[PHP] php session not persisting

2003-06-03 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running the latest version of php. And have both "register_globals" and "track_vars" set to "ON". Well, the first script prints out the session var fine, but not th

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
{echo "false";} echo "sess_var = $_SESSION[sess_var]"; echo "The content of \$sess_var is $sess_var"; // session_unregister("sess_var"); ?> "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tuesday

[PHP] php session not persisting from page to page

2003-06-04 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running PHP-4.3.1. And have both "register_globals" and "track_vars" set to "ON". Well, the first script prints out the session var fine, but not the second one. As

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
Thanks Kirk! I have all of the conditions you set out met. And still doesn't work. I also added session__is_registered("sess_var") to check and it tells me that it's not registered. 1st script - page1.php: "; //echos fine here ?> Next page 2nd script - page2.php: ";} else {echo "false"

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
Thanks Kirk! I have all of the conditions you set out met. And still doesn't work. I also added session__is_registered("sess_var") to check and it tells me that it's not registered. 1st script - page1.php: "; //echos fine here ?> Next page 2nd script - page2.php: ";} else {echo "false"

Re: [PHP] php session not persisting

2003-06-04 Thread Eric D.
_var = So page2.php is NOT see $sess_var from page1.php. Is there something else that could affect session variables besides "track_vars" and "register_globals"? Regards, Eric "Kirk Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Set

[PHP] difference twixt mod_php_memory_usage and top size/res

2003-06-09 Thread Eric Gehner
emely helpful as well. (Useful testing experts/how-to's/books/websites etc.) Thanks much. Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Oracle persistent connection limit

2002-07-23 Thread Eric Thelin
of 10 webservers that each have about 20 apache processes and I would like to use persistent connections but the resulting 2000 connections would overwhelm oracle. I am looking at reducing the number of users but that will be a large undertaking to go through the entire codebase. Any ideas? Eric --

Re: [PHP] Oracle persistent connection limit

2002-07-23 Thread Eric Thelin
That is what I figured. The problem is that oracle doesn't even seem to have per-process limits. Eric On Tue, 23 Jul 2002, Thies C. Arntzen wrote: > On Tue, Jul 23, 2002 at 11:00:43AM -0700, Eric Thelin wrote: > > Is there a way to limit the total number of persistent co

[PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread Eric Pignot
ous to know how it actually does ! can you tell me ? ) bye Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Doing system things with PHP

2002-08-25 Thread Eric Pignot
d work but wouldn't be recommende. "man chmod" to know more about this). regards Eric "Liam Mackenzie" <[EMAIL PROTECTED]> a écrit dans le message de news: 008f01c24c98$895404c0$[EMAIL PROTECTED] > Hey all, > > I need to restart apache using PHP. Is this

Re: [PHP] Re: Doing system things with PHP

2002-08-26 Thread Eric Pignot
> kill -HUP `cat /var/run/httpd.pid` > > If you execute this as nobody, I believe it will work, but I haven't > tested it. nope, it won't, as you need to be the owner to send a signal to a process. regards. Eric -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] check unread messages in a forum

2002-08-26 Thread Eric Pignot
$mysqlResult)){ array_push($msg_list, $row[0]); } - when displaying the list of all message you just check if the message is in the array $msg_list if ( in_array($currentMsg, $msg_list)){ echo "READ"; }else{ echo "UNREAD"; } regards Eric > Just stor

Re: [PHP] check unread messages in a forum

2002-08-26 Thread Eric Pignot
$mysqlResult)){ array_push($msg_list, $row[0]); } - when displaying the list of all message you just check if the message is in the array $msg_list if ( in_array($currentMsg, $msg_list)){ echo "READ"; }else{ echo "UNREAD"; } regards Eric > Just stor

[PHP] Re: Output Compression & output buffering..

2002-08-26 Thread Eric Pignot
concerning the way you handle the exit of your program ? regards Eric "Gerard Samuel" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > In an included file, I have an error handler that is using the 'output > buffering' trick to > dump a pa

RE: [PHP] trying to post to credit card authorization gateway - ibill

2002-08-28 Thread Eric Bauer
I have done this with ASP and Authorize.net, so I'm not sure if it will work for you, but all I did was in asp use a request.form("fieldname") which I think would be like using $_POST['fieldname']; or $HTTP_POST_VARS['fieldname'] (I'm still new to PHP). Hope that helps -Original Message-

Re: [PHP] foreach fails on unitialized array?

2002-08-29 Thread Eric Pignot
affect the source code, you can put it wherever you want) : if(!is_array($myvar)) { $myvar = array(); } regards ! Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: tmpnam filename

2002-08-29 Thread Eric Pignot
Why do you use tmpfile and not tempnam, as you write it in the header of your message ? it returns the name of the file, as you expect... string tempnam ( string dir, string prefix) Then, you'll just need to open the file returned by tempnam and write all data inside... regards Eric

[PHP] Re: Cannot get data from form.

2002-08-29 Thread Eric Pignot
This is really a FAQ, I would suggest that you read a bit more documentation before posting. Eric "Le Van Thanh" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] - I have installed PHP4.2.2 with Apache 1.3.26 on Solaris7. And now I have problems with g

[PHP] eregi_replace and regular expressions

2002-09-30 Thread Eric Dean
Hello all, I am trying to add html code using php on the fly while uploading web pages to our database. All of my replace functions seem to work well except one. I am trying to add a tag after the body tag. It is easy to find the body tag because there is only one "". So here is what I've trie

[PHP] Prevent certain cachingheaders sent by sessionssytem

2002-10-07 Thread Eric Persson
problems and I would like to exclude this on "some" pages. I read that its maybe possible to remove the whole line completely, but I just want to do this in certain phpfiles. Is this possible? Thankful for any input.. Eric -- PHP General Mailing List (http://www.php.net/) To

[PHP] Mail.php help

2003-10-01 Thread Eric Rounds
I have tried numorous email form tutorials, and all have not sent to the recipient. I don't know what is wrong. How do I check to see that sendmail is installed on PHP on Apache? The form goes through. I can pass variables and echo or print them, but I just can't seem to get it to send the messa

Re: [PHP] Mail.php help

2003-10-01 Thread Eric Rounds
ion of error_log(). How do I do this? Set up an echo on my form page? ??? Thank you all for your help. >On Wednesday 01 October 2003 22:51, Eric Rounds wrote: >> I have tried numorous email form tutorials, and all have not sent to the >> recipient. I don't know what is wrong.

Re: [PHP] Mail.php help

2003-10-01 Thread Eric Rounds
Thank you! I will let the administrator know. By the way, is there a way I can check, without looking into the serving Mac, to see if it is running? Thanks again >On Wednesday, October 01, 2003, at 08:26AM, Eugene Lee <[EMAIL PROTECTED]> wrote: >Make sure that Sendmail is enabled and runnin

[PHP] Plugin System Implementation

2003-10-01 Thread Eric Czarny
her complicated mess, come to think of it, but once I begin working on it or I get even clearer ideas from others will it begin to make sense. Regards, Eric Czarny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] BTML 2.0 released!!!

2003-11-07 Thread Eric Wood
bottompost? That said, I think bottom posting (with proper stripping of the original message) is overall the best way to go. -eric wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FDF quit work for Acrobat 6

2003-11-13 Thread Eric Wood
Launching a PDF form from PHP is easy (got the code below from php.net). Anyway this method works with Acrobat 5 readers and not Acrobat 6. Does anyone know why? thanks, -eric wood <<<<<<<<>>>>>>> $fdfdata = "%FDF-1.2\n%~B~D~\~T\n"; $fdfda

Re: [PHP] FDF quit work for Acrobat 6

2003-11-13 Thread Eric Wood
n't appear. The child window just stay blank. I'm going to try and not launch a child window and see if that curses the problem. -Eric Wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Execute programs

2003-11-22 Thread Eric Wood
gt; the execution of the program ends. Use system() and background it with &: $cmd = "tail -f /var/log/messages &"; system($cmd); -eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Conditional anchor href value

2003-12-02 Thread Eric Blanpied
t arguments for server-side scripting. Still the js approach has been closest to what we need: the php script puts all the possible links from that card into the page, and then the js function uses the correct one. Does anyone have any advice? Thanks -eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Conditional anchor href value

2003-12-02 Thread Eric Blanpied
Chris Shiflett wrote: > --- Eric Blanpied <[EMAIL PROTECTED]> wrote: >> Still the js approach has been closest to what we need: the php script >> puts all the possible links from that card into the page, and then the >> js function uses the correct one. >>

Re: [PHP] Conditional anchor href value

2003-12-02 Thread Eric Blanpied
Martin Towell wrote: > you might be able to put the id of the next/prev card as the value of the > > and then use javascript to generate the url. > > the only reliance then would be that the browser as JS enabled, as the above > should be possible with the most basic of JS That's not all t

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

2003-12-04 Thread Eric Wood
logic to correct pricing. I say, if an incomplete cart hasn't been touched more than 2 hours *and* you do cleanup processing at 3:00am, then that'll be safe enough, especially if you have few international orders. -Eric Wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
"Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Paul Duggan wrote: > > > > >if I create a text box: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >h

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
"Eric Bolikowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: Spamming bastardly problem, please help

2003-12-05 Thread Eric Bolikowski
"Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > Some son of a * is spamming people and using one or our websites as a > return address, so all the emails that get bounced are coming right back to > us, as you can imagine thats quite a lot, plus we are getting angry

[PHP] Re: POST upload script timeout

2003-12-06 Thread Eric Bolikowski
"Iain Staffell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a script on my local machine to allow friends to send me files, as IM > or FTP transfers don't work, and so I would like to accept reasonably large > files (10mb max). I followed some of the examples shown around

[PHP] query to display the results without...

2003-12-08 Thread Eric Holmstrom
Hi there I have a database called "Eric" and table name called "Rocket'. Table consists of three values. PARTNO | DESCRIPTION | COMMENT So far if i want to show copper headgaskets from the 5r field i put this string into the php script (along with the rest of the html/php c

[PHP] Re: query to display the results without...

2003-12-08 Thread Eric Holmstrom
TECTED]> wrote in message news:[EMAIL PROTECTED] > Eric Holmstrom wrote: > > > Hi there > > > > I have a database called "Eric" and table name called "Rocket'. > > > > Table consists of three values. > > PARTNO | DESCRIPTION | COMMEN

[PHP] Re: PHP Math Question

2003-12-11 Thread Eric Bolikowski
3 > 16 is to 4 > > And so on... > > Is anyone good at math, that can throw me a bone? > > Thanks y'all, > Mike D > > > > Mike Dunlop > AWN, Inc. > // www.awn.com > [ e ] [EMAIL PROTECTED] > [ p ] 323.606.4237 H

Re: [PHP] Re: PHP Math Question

2003-12-11 Thread Eric Bolikowski
$i = 1, $j = 1; $i <= $_POST["i"]; $i++, $j++){ if($j == 5){ $j = 1; print "\n"; } print $i." is to ".$j."\n"; } // end for ?> Jim ----- Original Message - From: "Bronislav Kluèka" <[EMAIL PROTECTED]> To: "Eric Boli

Re: [PHP] php .htaccess autologin

2003-12-12 Thread Eric Bolikowski
t;> > >>> Thanks, > >>> > >>> Bob > >> > >> > >> > > You could also use the PEAR::Auth package to do authentication (through > a form or a .htaccess style popup). > > -- > paperCrane Hi Robert I understood that you would like to do a login doing the HTTP AUTH method. Here are some scripts: Script 1: login: To next file"; }else{ //if incorrect, resend headers header("WWW-Authenticate: Basic realm=\"Leksjon 11\""); header("HTTP/1.0 401 Unauthorized"); exit; } } ?> Script 2: go_on.php : I had not anymore time to write more comments, but i hope it was helpfull. Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: e-commerce with php

2003-12-14 Thread Eric Bolikowski
SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail Hi You could have a look at osc2nuke: http://www.osc2nuke.org/ Eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] bi-linear image resizing function?

2003-12-16 Thread Eric Wood
I'm currently using a script that uses the GD library to resize images: http://kentung.f2o.org/scripts/thumbnail/ The problem is that I don't like the way it does bi-cubic sampling - makes the thumbnail look pixelated. Does anyone know of a way to make thumbnails with bi-linear sampli

Re: [PHP] bi-linear image resizing function?

2003-12-16 Thread Eric Wood
Eric Wood wrote: > I'm currently using a script that uses the GD library to resize > images: http://kentung.f2o.org/scripts/thumbnail/ > > The problem is that I don't like the way it does bi-cubic sampling - > makes the thumbnail look pixelated. Does anyone know of a

  1   2   3   4   5   6   7   8   9   10   >