[PHP] RE: SOLVED! [PHP] Echoing a value

2004-07-12 Thread Ed Curtis
trick. > > Cheers, > Pablo > That did the trick! I knew it was something simple I was overlooking. Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Echoing a value

2004-07-12 Thread Ed Curtis
'cnt'] echoes it's expected values. If anyone can tell me what I'm doing wrong I'd appreciate it. Thanks, Ed $ap = fopen("$ad_path/AdCount$issue.txt", "w"); mysql_connect ($local_host, $local_user, $local_pass); mysql_select_db ($local_db); $re

RE: [PHP] CMS solution + web sites in CVS.

2004-07-11 Thread Ed Lazor
Interakt.ro -Ed > -Original Message- > I am currently restructuring the web site/web application development > life cycle of my company. The new model requires the use of CVS (2 > branches) for each web site project. The issue I am facing is the > maintenance/developme

RE: [PHP] search string / query format

2004-07-09 Thread Ed Lazor
> > Using a FULLTEXT index and searching in BOOLEAN mode supports the type > of search strings that you wrote. > > Consult thine manual!! (The MySQL one) ;) *grin* Thanks John, I knew someone would know where I'd seen it hehe -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] search string / query format

2004-07-09 Thread Ed Lazor
27;s indexing can support some of this, but I'm not sure how much. Thanks in advance for any pointers or info you might have on this. -Ed

RE: [PHP] Any suggestion for my php project?

2004-07-09 Thread Ed Lazor
Track activity using a web log analyzer rather than trying to integrate something with the site. Try webtrends.com for an example. > hi, all: > We have a bioinformatic website that focus on experiment submission and > data analysis. The old site was written in PHP. Now, we try to > re-organize

RE: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Ed Lazor
30 minutes. So, for example, I can login, navigate through 11 different pages to generate the problem, navigate 2 pages to generate the problem, and then not see the problem again for another 5 minutes. Does that fall in line with what you're thinking? -Ed > -Original Message

[PHP] PHP Hosting

2004-07-08 Thread Ed Lazor
Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net, ServerBeach.net, or CIhost.com? I'm looking for value, reliability, and quality support. Any other recommendations are also greatly appreciated. -Ed

[PHP] PHP Sessions Question

2004-07-08 Thread Ed Lazor
etimes within seconds and othertimes within minutes. Sometimes it won't even happen for 30 minutes and then it suddenly begins to occur again. Thanks in advance for any ideas or recommendations that I can forward to my hosting provider on how to fix the problem. -Ed

[PHP] IE 6 hotix and header problem

2004-03-09 Thread Ed Curtis
Does anyone happen to have the link on microsoft's support site that addresses the problem with the latest IE 6 hotfix and incomplete headers being sent? I can't seem to find my bookmark and I can't access the archive site to find it. Thanks, Ed -- PHP General Mailing List (htt

Re: [PHP] Re: Image resize on upload

2004-02-26 Thread Ed Curtis
Make sure you use imagecreatetruecolor() with GD when resizing images or you'll get some undesirable results. Imagemagick's convert and mogrify worked well for me although I was resizing an uploaded image. Ed Curtis On Thu, 26 Feb 2004, Will wrote: > Thanks!! I found some doc

RE: [PHP] Security Question

2004-02-20 Thread Ed Lazor
now of anything I find. I received email shortly thereafter saying that they disabled open_basedir on the server in response. -Ed -Original Message- > It's like PHP is somehow confused and running my script with the > account settings (and permissions, possibly) for

RE: [PHP] confirmation [Qurb #909251]

2004-02-20 Thread Ed Lazor
ed list of addresses so only people sending directly to me will have to reply to the initial confirmation. Or so I hope... as I test yet another anti-spam solution. -Ed -Original Message----- Yo Ed, this is why you aren't getting replies from the list. I suspect that after seeing th

[PHP] Security Question

2004-02-20 Thread Ed Lazor
my script with the account settings (and permissions, possibly) for another user on my host provider's server. If that's true, wouldn't this quality as a security issue? They use open_basedir for security. Isn't that part of PHP? They're running the latest version of P

RE: [PHP] confirmation

2004-02-20 Thread Ed Lazor
I did that time... must have been a problem on my email server. Thanks for helping me verify that it's working now. -Ed -Original Message- > Is there a way to enable a confirmation message or change it so that I > get copies of messages I send to the list? > > Th

[PHP] confirmation

2004-02-20 Thread Ed Lazor
Is there a way to enable a confirmation message or change it so that I get copies of messages I send to the list? Thanks, Ed

[PHP] Security Issue?

2004-02-19 Thread Ed Lazor
ppens frequently enough that site users are complaining. Any ideas? -Ed PHP: 4.3.4. (See below for Configure Command) Apache: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.4 Fron

[PHP] PHP Security Issue?

2004-02-19 Thread Ed Lazor
ppens frequently enough that site users are complaining. Any ideas? -Ed PHP: 4.3.4. (See below for Configure Command) Apache: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/

Re: [PHP] thumbnail

2004-01-21 Thread Ed Curtis
> No need to copy+mogrify; just use > > convert [options] /path/to/old /path/to/new > > instead :-) I wasn't aware of that command. This list is great!! Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] thumbnail

2004-01-21 Thread Ed Curtis
sing GD for the past few months and it's very inconsistent on thumbnail quality even when the quality setting is at maximum. The only real problem with mogrify is that you have to copy an image to a seperate location if you want to keep the original file as it overwrites the file it's m

RE: [PHP] picturing webpage

2004-01-09 Thread Ed Curtis
king for but this might be what you're after. It was posted on Freshmeat just this week. http://www.babysimon.co.uk/khtml2png/ Ed Curtis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Ed Curtis
> Join the 11,000 people who use megaupload progress bar (with a little > help from perl) > http://www.sourceforge.net/projects/megaupload/ I tried. It wasn't worth all the perl mods I would to have had to install to make it work. Ed -- PHP General Mailing List (http://ww

Re: [PHP] Re: progress in PHP

2003-12-22 Thread Ed Curtis
sion of PHP may have a progress bar function built in. Don't know if it's true or not but it would be nice. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Working pop-up progress window

2003-12-22 Thread Ed Curtis
ow) and when I try to close it I call MyWindow.close() and it still will not close. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Working pop-up progress window

2003-12-22 Thread Ed Curtis
pop-up stays open or I close the parent window. Does anybody have a working example I could work off of so I could please my boss. Personally, I didn't want to do this but he thinks we should have these flashy things on out site. Thanks, Ed -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Re: Building a query string

2003-12-03 Thread Ed Curtis
nt that option included in the query as well, i.e. (fireplace == "yes".) If the box is not checked it means no, i.e (fireplace == "no".) Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Building a query string

2003-12-03 Thread Ed Curtis
} This would continue through all eleven options then produce a query string with all included query options needed. Can this be done this way? If so, how do I add a string to a string? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] htaccess / php

2003-12-01 Thread Ed Lazor
uld access from within the script by checking the url and subtracting "http://myhost.com/archive/";. Thanks in advance, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] htaccess / PHP

2003-12-01 Thread Ed Lazor
uld access from within the script by checking the url and subtracting "http://myhost.com/archive/";. Thanks in advance, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Comparing 2 strings.

2003-11-19 Thread Ed Curtis
I guess I did miss that it says that the comparison is case sensitive and binary safe. Thanks, Ed On Wed, 19 Nov 2003, CPT John W. Holmes wrote: > From: "Ed Curtis" <[EMAIL PROTECTED]> > > > I currently store text from a MySQL blob field in a string $orig_text

[PHP] Comparing 2 strings.

2003-11-19 Thread Ed Curtis
s too well. I can't go by the number of characters in the string either. Someone may be able to use new words but keep the length of the string the same. Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Concerning number_format()

2003-11-06 Thread Ed Curtis
Duh. Yeah, works like a charm. Thanks, Ed On Thu, 6 Nov 2003, Jay Blanchard wrote: > [snip] > $price = "1234.567890"; > > $price = number_format($price, 2, '.', ''); > > echo $price; > > Returns 1234.567890 > > Should return 1

[PHP] Concerning number_format()

2003-11-06 Thread Ed Curtis
I'm using an example straight from the manual on the php site that doesn't seem to work. $price = "1234.567890"; $price = number_format($price, 2, '.', ''); echo $price; Returns 1234.567890 Should return 1234.57 correct? Thanks, Ed -- PHP Gener

Re: [PHP] Stripping Decimals

2003-11-04 Thread Ed Curtis
Thanks! Works like a charm. Ed On Tue, 4 Nov 2003, CPT John W. Holmes wrote: > From: "Ed Curtis" <[EMAIL PROTECTED]> > > I currently use number_format() and str_replace() to remove a "," or "$" > > if entered and reformat it as a pr

[PHP] Stripping Decimals

2003-11-04 Thread Ed Curtis
I currently use number_format() and str_replace() to remove a "," or "$" if entered and reformat it as a price for an item. I've asked the user not to use decimals but some still do. How do I remove a decimal and anything after from a number in a varable? Thanks, Ed

[PHP] Re: Trying to start a session

2003-10-25 Thread Ed van der Mark
If you are using Windows try C:\windows\temp as /tmp directory. Ed "Jough Jeaux" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > The very simple following script: > session_start(); > ?> > > Produces an error that says it can't wr

[PHP] Multidimensional Arrays

2003-10-20 Thread Ed Curtis
y this example is clear enough that someone will understand what I'm doing. I tried the following with no luck. $listing['count'] = $_POST['listing[count]']; $listing['$count'] = explode(",", $listing['$count']); Any takers? Th

[PHP] Avoiding "Warning - Page Expired"

2003-09-30 Thread Ed Curtis
Is there any way to avoid having this happen using php if someone sits on a page too long and clicks the back button to go back to a form they have filled out and not having the values in a session? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] control M from export file

2003-09-29 Thread Ed Kwok
All: I am running into problem parsing a file exported from MS excel. I have exported the file as asci format, but there is a control "M" append to my document. What is this control "M" and how can I delete without manually replace it? Is there any automated function I could use? Thanks.

[PHP] One variable not equal to 2 values.

2003-09-25 Thread Ed Curtis
How would I write this statement: if $thisvar is not equal to this value or that value. { do stuff } Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Types

2003-09-15 Thread Ed Curtis
. > > QXP is a good one, and you may need to ask the manufacturer of the software > what mime type is used. > I think too that application/pagemaker should work for .p65 and .pm7 as well as .pmd (Page Maker Document). I think .qpx is a Quark Express document but I can't find the

RE: [PHP] File Types

2003-09-15 Thread Ed Curtis
On Mon, 15 Sep 2003, Javier Tacon wrote: > > You could use the function exif_imagetype() to see what type of file > has been uploaded. > The filetypes are not all images types. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Types

2003-09-15 Thread Ed Curtis
On Mon, 15 Sep 2003, Raditha Dissanayake wrote: > You don't need to look any further than mime.types files included in > your apache distro. Did that as well as googled for the list of extensions. Still can't seem to find the mime type for .pm7, .p65, .qxp and .pmd. -- PHP General Mailing List

[PHP] File Types

2003-09-15 Thread Ed Curtis
that gives the mime types of theses files? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Ed Curtis
I'm pretty sure that YahooGroups uses cookies for this to hold values while you're not on their site. When you return it checks for the cookies and reloads the values from the last visit. You can accomplish this with PHP as well. Ed On Thu, 11 Sep 2003, Juan Nin wrote: > On Thu,

Re: [PHP] some kind of redirection (not the header function)

2003-09-11 Thread Ed Curtis
to set the directory that they would work in. The directory name could be passed from script to script or stored in sessions. Ed On Thu, 11 Sep 2003, Juan Nin wrote: > Hi!!! > > I´m programming a site in PHP, where I want to do the following: > > I will have a set of differ

[PHP] Acessing session vars

2003-08-15 Thread Ed Curtis
ead the file located in my /tmp directory. Now I click on a link and go to a different page and I do: session_start() Magazine: Company: Should I be able to retrieve the values in this fashion? I'm using php 4.1.2. Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] How can I display an image within a script?

2003-07-15 Thread ed
Yes, the method below would work just fine if you only needed to display one image. Trying it on a second image within the same generated page would give you a "headers already sent" error. Ed > Ok, assuming that the image files are outside the public web tree and > you can

[PHP] Older Version problems

2003-07-14 Thread ed
are all empty. Did I miss something in the ini file somewhere? I'd really hate to upgrade at this time as this came from a Red Hat 7.3 install and I'd hate to lose all the functions that are already pre-compiled into it (gd, mysql, etc) Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread ed
ed because of this. Ed On Thu, 3 Jul 2003, Mark McCulligh wrote: > I am also building a new server. I am going with RedHat 8, but only > installing the Classic server from the CDs. Then installing/configuring > Apache/PHP/MySQL/SSL manually. I like the rpm install programs but I like

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread ed
nning that for the past 4 years on that dinosaur. Ed On Thu, 3 Jul 2003, Joseph Szobody wrote: > Folks, > > I'm just getting ready to built a webserver this weekend and was planning on using > RH9, so this thread especially caught my eye. The website that the server will b

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread ed
r of records resulting in 10 records per page. It may contain something like 1027 records which should then produce 103 pages. 102 pages each with 10 records and one page of only 7 records. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Mysql Limit

2003-07-02 Thread ed
Yes, the next page of results would start at #18. The page number only increments by 1. Ed On Wed, 2 Jul 2003, Chris Sherwood wrote: > It looks like your adding 10 to 8 thus getting 18... of course I maybe > looking at this wrong > > - Original Message - > From: &l

[PHP] PHP and Mysql Limit

2003-07-02 Thread ed
it should be as there should be no more listings to output to a text file but why is there a page number 18 to begin with? It should end with page number 17. Thanks in advance for any insight, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Basic Auth question

2003-07-01 Thread ed
he closest thing you can do is create a .htaccess type pop up with PHP but the username and password still have to be entered via the user which is what I take to be what you are trying to avoid. Ed Curtis On Tue, 1 Jul 2003, Dave Carrera wrote: > I have a issue with basic auth which I hope som

[PHP] PHP extensions and multiple source files?

2003-06-11 Thread Ed
Howdy folks! Is there a way to have multiple *.c source files and still end up with a single *.so while using gcc? How would that be reflected in the config.m4 file? I searched for examples in the source tree, but did not find one. I tried different things, but ended up with multiple *.so's.

[PHP] PHP and .htaccess

2003-06-11 Thread ed
to an .htaccess protected directory without having the server pop up another username/password box? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions and headers

2003-06-05 Thread Ed Gorski
Try including "session_cache_limiter('public');" before your session_start(); call at the top of the page. ed -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:40 AM To: Ed Gorski; 'CPT John W. Holmes'; &

RE: [PHP] Sessions and headers

2003-06-05 Thread Ed Gorski
Are you downloading these files over HTTPS://? Ed -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:24 AM To: CPT John W. Holmes; PHP General Subject: Re: [PHP] Sessions and headers > What errors, exactly? Can you show some examples?

RE: [PHP] Sessions and headers

2003-06-05 Thread Ed Gorski
de so that we can see the problem more clearly? ed -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:52 AM To: PHP General Subject: [PHP] Sessions and headers When using PHP sessions, if the user's browser supports cookies, PHP sets the

RE: [PHP] Registered sessions.

2003-06-04 Thread Ed Gorski
to do this but on header redirects like the one above you do. Hope this helps, ed -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 5:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Registered sessions. Hi, I have a php page that validates if a

RE: [PHP] problems?

2003-06-04 Thread Ed Gorski
Couple of clarifications Dale: Is this an internal intranet server? Can it be? Do you have admin rights to the server? What's OS and Server are you running? ~Ed -Original Message- From: Dale [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:21 PM To: [EMAIL PROTECTED] Su

RE: [PHP] php session not persisting

2003-06-03 Thread Ed Gorski
Do you have cookies enabled on your browser? If not then you will need to make sure that you compile or change your php.ini to reflect that (ie with trans-sid). ed -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:42 AM To: [EMAIL PROTECTED

[PHP] Checking Client's Cipher Strength with IIS

2003-05-29 Thread Ed Gorski
ried using some server vars (namely HTTPS_KEYSIZE) but that reports incorrect data with the win2k/IE/56-bit configuration I mentioned above. Any help is appreciated and thanks in advance, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strtr question

2003-05-29 Thread ed
though. How do I do this? TIA, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP or Mysql or Combination

2003-03-24 Thread ed
e Creating Sorted Listing Report"; ------ How would I go about creating files of 8 records each in individual files? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error on mysql_num_rows

2003-03-20 Thread ed
I think I've found my problem. The query does work if I place the exact same code directly into my script but I had previously been calling it as a function from an include file. It's working just great now. Thanks, Ed On Thu, 20 Mar 2003, Tom Rogers wrote: > Hi, > >

[PHP] Error on mysql_num_rows

2003-03-20 Thread ed
Is there something I'm missing here? I've tried using just about every example in the on-line manual and get the same error. I can run other queries just fine though. Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making a true statement false.

2003-03-07 Thread ed
Thanks for all the help. I was just placing the ! in the wrong place. Thanks again, Ed On Fri, 7 Mar 2003, Greg Beaver wrote: > > > Mincu Alexandru wrote: > > On Fri, 2003-03-07 at 18:16, [EMAIL PROTECTED] wrote: > > > >>Whenever I query a database

[PHP] Making a true statement false.

2003-03-07 Thread ed
ssume false then true? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Running system commands

2003-02-25 Thread ed
orm passed to the script and is assigned from $_POST['path']; When I run it no directory is created. Ideas?? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date format from file (END)

2003-02-05 Thread ed
cess gets run on the exact time it needs to be run along with the exact date in the file. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date format from file

2003-02-05 Thread ed
a specific day of the month. If there is any other scheduling system out there that can do this type of thing on Linux/Unix I'd much rather use it than doing it this way. Ed On Wed, 5 Feb 2003, John W. Holmes wrote: > > Is it possible to read a string from a text file (i.e. > >

[PHP] Date format from file

2003-02-05 Thread ed
Is it possible to read a string from a text file (i.e. 0502031130) and be able to use that in a date function such as: $date = date("dmyHi", strtotime('+28 days)); How would I use that string as the date in the above code? TIA, Ed -- PHP General Mailing List (http://w

Re: [PHP] authentication

2003-02-04 Thread ed
nvestigate any further because I was rushed off to the next "Big Project." Ed On Mon, 3 Feb 2003, Chris Shiflett wrote: > > There is a way to supposedly do this by authenticating > > a username and password through php first through such > > methods as database loo

Re: [PHP] authentication

2003-02-03 Thread ed
I'm sorry the line should have been... header("Location:http://$PHP_AUTH_USER:$[EMAIL PROTECTED]";); Ed On Mon, 3 Feb 2003 [EMAIL PROTECTED] wrote: > > There is a way to supposedly do this by authenticating a username and > password through php first through

Re: [PHP] authentication

2003-02-03 Thread ed
ser and pass it that way though. Ed On Mon, 3 Feb 2003, Chris Winters wrote: > Chris, > > Exactly. I am relying on the webserver to provide the restrictions. > > Now my next question: > what functions should I utilize or come close to to do it? There isnt any > PHP pages d

Re: [PHP] + in filenames

2003-02-03 Thread ed
I'll be the first to admit I was wrong and missed that. This will work out great for me. I'm writting scripts for Realtors to upload photos to us via the web and you can only imagine what these people will include in a filename. Ed On Mon, 3 Feb 2003, Marek Kilimajer wrote: >

Re: [PHP] + in filenames

2003-01-31 Thread ed
On Fri, 31 Jan 2003, Marek Kilimajer wrote: > I use this: > $name=strtr( $name, > " ?*#$%^:+=<>/\"", > "__"); > I'm hoping that double quote was a typo?? Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot show reuploaded image file on page unless manualrefresh

2003-01-20 Thread ed
than likely not have the image file identified by the random number it must request it again from the server. Works great where I need it! Ed On Mon, 20 Jan 2003, Chris Shiflett wrote: > --- Phil Powell <[EMAIL PROTECTED]> wrote: > > I am using the following header() functions to f

[PHP] PHP and FDF

2003-01-20 Thread ed
that was called. If I write in a header("Location") command and route the client to another page their browser opens a file locally on their computer that contains the source code of the page called. How do I just get the results of the form? TIA, Ed -- PHP General Mailing List (htt

[PHP] PHP and PDF Forms

2003-01-16 Thread ed
s yuse the data from the form and continue on with my script. How do I go about that? TIA, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imageCreate() error

2003-01-16 Thread Ed
I'm running PHP 4.3 and W2k with IIS 5.0. I have enabled php_gd and it does show up when I do a phpinfo. The php_gd.dll is in the winnt/system32 directory (I've also tried it in almost every other directory too) and I get these error messages: Cannot add header information - headers already sent

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread ed
u force garbage collection? I've written an application using sessions for storage and there's been a session sitting in my /tmp directory for 2 days now, well over the 1440 seconds expiration. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Case Matching

2003-01-06 Thread ed
their username in all lower case letters. TIA, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Session Question

2003-01-03 Thread ed
lient side cookie with any values to retrieve the information. Thanks again, Ed On Fri, 3 Jan 2003, Ford, Mike [LSS] wrote: > -Original Message- > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > > Does php use cookies for sessions even if you don&

[PHP] Session Question

2003-01-03 Thread ed
Does php use cookies for sessions even if you don't explicitly use cookie functions to save session data server side? TIA, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Disable session cookies

2002-12-21 Thread ed
I'm guessing then that it's possible to use only server side sessions and use trans_id then if you need to store values throughout a site? Ed On Fri, 20 Dec 2002, John W. Holmes wrote: > > Is there any way to disable using cookies in sessions? I haven't found > a &

Re: [PHP] Need to place a comma into a string of 4 or 5 digits

2002-12-12 Thread ed
IF you're looking to break digits into thousands by use of a comma search the manual for number_format. Ed On Thu, 12 Dec 2002 [EMAIL PROTECTED] wrote: > Hello All! > > I am racking my brain and scouring the books and I can't seem to find a solution > to this simple

Re: [PHP] take text before '-' and after it

2002-12-12 Thread ed
Wouldn't it be simpler to just remove the '-'? $var = str_replace("-","",$var); Ed On Thu, 12 Dec 2002, Antti wrote: > How can I take some text before the mark - and after it and put them for > example in array. The purpose of this is to read tro

RE: [PHP] How to force an image to reload

2002-12-10 Thread ed
Even though I did forget the ending > on the tag. Cool. Ed On Tue, 10 Dec 2002, Adam White wrote: > Many thanks Ed, works a treat! > > Regards > Adam White > > Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 10 December

Re: [PHP] How to force an image to reload

2002-12-10 Thread ed
As one who has had to do the same thing and had gotten some help from this list I'll put in my two cents. the past > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always > modified > header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 > header("Cache

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread ed
Thanks to all that replied. Ed On Mon, 9 Dec 2002, John Nichel wrote: > Yes you can. Just use clean source, but the config line can be the same > less the "--with-apache" switch. > > [EMAIL PROTECTED] wrote: > > Can I do that using the same src I used to c

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread ed
Can I do that using the same src I used to create the dynamic module and both would work hapilly together? Thanks, Ed On Mon, 9 Dec 2002, John Nichel wrote: > No. To get the binary executable, compile it without the apache switch. > > [EMAIL PROTECTED] wrote: > > When you

[PHP] Dynamic vs. Static

2002-12-09 Thread ed
When you compile php for apache using the dynamic module example used in the documentation, do you not get an exacutable php to use from the command line? Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread ed
success. And I have read through the user contributed notes and havent' found it there. Ed On Fri, 6 Dec 2002, 1LT John W. Holmes wrote: > > What do I need to use to create real linefeeds or new lines when viewing > > under windows? > [snip] > > $newline = "

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread ed
eate real linefeeds or new lines when viewing under windows? TIA, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread ed
ay($result)); mysql_close(); } ?> Thanks in advance for any ideas Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] How to handle "so called" expired sessions??

2002-12-03 Thread ed
up is done within php itself so nothing is cleaned up until php is called again. Is this correct? If so, I have sessions located within my /tmp directory that are over 3 weeks old and have been there ever since they were first created. Ed On Wed, 4 Dec 2002, Tom Rogers wrote: > Hi, > > We

Re: [PHP] Re: If statement w/ multiple conditions

2002-11-26 Thread ed
That's what I was looking to acheive. Thanks! Ed On Tue, 26 Nov 2002, Craig wrote: > Something like this will work... > > > if(empty($_GET['1']) && empty($_GET['2']) && empty($_GET['3']) && > empty($_GET[&#x

<    1   2   3   4   5   6   7   >