[PHP] Re: rawurldecode

2005-03-29 Thread Aaron Todd
character in a filename so I must acount for it. Has anyone previously dealt with this and might be able to give me a quick work around? Thanks Aaron Todd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to use the rawurldecode() function to decode a variable that is begin

Re: [PHP] rawurldecode

2005-03-29 Thread Aaron Todd
I got it. After you said I shouldn't need it I started playing around and found that you were right...I didnt need it for spaces and other punctuation. But I was then having a problem with amperstands. It was dropping everything after an amperstand off. I ended up doing a rawurldecode of

[PHP] Any personal experience with MySQL/Calendar application

2005-03-29 Thread Todd Cary
I am looking for an open source calendar program that uses MySQL to store the data and has an online Admin feature. Rather than trying the many that are listed, I am hoping that someone may have some personal experience with a application of this type and make a recommendation. Todd -- PHP

[PHP] rawurldecode

2005-03-28 Thread Aaron Todd
I am trying to use the rawurldecode() function to decode a variable that is begin passed from a different page through the url. The PHP manual doesnt say much for this function, but it does have quite a bit on the urldecode() function which says using urldecode on a $_GET variable wont produce

[PHP] opt-in mail list best practice

2005-03-16 Thread Todd Trent
of email addresses calling the mail function each time? Can someone please enlighten me a little as to what is considered best practice here or a least point me toward more definitive information on the subject? Thanks, Todd Trent Hogfish Design 2550 26th Street West

[PHP] Sending data via POST

2005-03-11 Thread Todd Cary
an this be done and if so, how? Many thanks Todd -- inline: NewLogo.gif

[PHP] Re: Sending data via POST

2005-03-11 Thread Todd Cary
Shawn - Many thanks! I have a class I wrote that does that, but I thought I may have overlooked something simplier. Todd Shawn Kelly wrote: This is from php.net: Just change the $out to fill with your POST request (instead of the GET). Works good, you can change ports. :) |$fp = fsockopen

[PHP] FREETYPE and GD

2005-03-02 Thread Aaron Todd
Hello, I've created a simple script that takes in image and draws some lines and some text on top of it. I am having a problem with the text part of this. When the string that I am drawing on the image contains and apostrophe ( ' ) there is always a backslash ( \ ) before it. It make sense

Re: [PHP] FREETYPE and GD

2005-03-02 Thread Aaron Todd
BEAUTIFUL Thats exactly what I was looking for. I'm not doing anything with MySQL so I am going to leave Magic Quotes on and just use stripslashes() Thanks a bunch. Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aaron Todd wrote: I've created a simple script

[PHP] Inline Frame and php

2005-02-28 Thread Todd Cary
nomenclature e.g. control, leave] Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image Creation

2005-02-15 Thread Aaron Todd
I just wrote a little script to play around with the GD library but I am having a problem displaying it in the browser. I have not problem at all when I just run the script. But I was trying to make the image in a custom function which will return the image when its called. All I end up

[PHP] Re: Image Creation

2005-02-15 Thread Aaron Todd
error reporting on for your script. Hope you find the bug, thats quite a nice function you have there. J Aaron Todd wrote: I just wrote a little script to play around with the GD library but I am having a problem displaying it in the browser. I have not problem at all when I just run

[PHP] Re: Image Creation

2005-02-15 Thread Aaron Todd
Hey Guys, I think I fixed my own problem. I tried calling the PHP script from a different page like this: img border='0' src='include/pie.php?slice=100total=200' This gave me the results I wanted. Thanks for all your help. Aaron Aaron Todd [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] fireing function with onChange

2005-02-10 Thread Aaron Todd
I have a loop that is putting the filenames of files in a certain directory into a listbox. I am then using the onChange event of the listbox to fire a function. In this script the onchange event sends the function the path an filename of the chosen file from the list. I have tested what I

[PHP] Cannot upload a file greater than 500 KB

2005-02-08 Thread Todd Cary
I am using php 4 and Apache 1.3 on a RH 9 box. upload_max_filesize is set to 5M post_max_size is set to 8M MAX_FILE_SIZE in the HTML upload page is set to 500 I get the error The document contains no data with any file over 500 KB. What is creating the error? Many thanks. Todd -- PHP

Re: [PHP] Cannot upload a file greater than 500 KB

2005-02-08 Thread Todd Cary
Richard - It turned out that the following was missing from Apache's httpd.conf file: Files *.php SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 500 /Files Not sure what that does or where I should have read about it, but I did find that in an email I got with Google. Todd Richard

[PHP] Re: Changing PHP properties (Previously: Cannot upload a file greater

2005-02-08 Thread Todd Cary
for me I am sure! Todd Dan Trainor wrote: Todd Cary wrote: Richard - It turned out that the following was missing from Apache's httpd.conf file: Files *.php SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 500 /Files Not sure what that does or where I should have read about it, but I did

Re: [PHP] Displaying a html line as html

2005-02-01 Thread Todd Cary
= make_page_path($page_string, $fullscriptname); print($page_path); It is not printing the string as a link, and print(' . $page_path . '); just prints the literal string with apotrophies added. I tried $page_path = ' . make_page_path($page_string, $fullscriptname) . '; with the same results. Todd

Re: [PHP] Displaying a html line as html

2005-02-01 Thread Todd Cary
]; } } } //print(Page_path: . $page_path . br); return $page_path; } Thank you for your help... Todd Jochem Maas wrote: Todd Cary wrote: OK...I am close, but still missing something. The string returned by the function is $page_path and it contains a href=http://209.204.172.137/casesearch/php

Re: [PHP] Displaying a html line as html

2005-02-01 Thread Todd Cary
;'; } } else { if ($i == 0) { $page_path = $pages[$i]; } else { $page_path = $page_path . '-gt;' . $pages[$i]; } } } //print(Page_path: . $page_path . br); return $page_path; } Thank you for your help... Todd Jochem Maas wrote: Todd Cary wrote

[PHP] Storing key values in an array

2005-01-21 Thread Todd Cary
))) { if (($file != .) ($file != ..)) $file_list[$file] = $file; --- } Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing key values in an array

2005-01-21 Thread Todd Cary
Todd Jochem Maas wrote: Todd Cary wrote: I am using an array to populate a drop-down and I would like to have the same value in the key as the value. Using the following, the key is 0,1,2,3...etc. How can I correct that? what is there to correct - you are telling me that the value of $file

[PHP] Providing a means for the surfer to send a file

2005-01-20 Thread Todd Cary
I am looking for some sample code on setting up a page that provides a means for the surfer to send a file to the server. Todd -- inline: NewLogo.gif

[PHP] Making includes and requires safe.

2004-12-27 Thread Todd Cary
I received the following and I would like to know what is meant by making includes and requires safe: [Quote] News Story by Peter Sayer DECEMBER 27, 2004 (IDG NEWS SERVICE) - The latest version of the Santy worm poses an elevated risk to many Web sites built using the PHP scripting language,

[PHP] help with html through php

2004-11-21 Thread Todd Alexander
my pages. Again I realize this is a complete newbie question but I appreciate any help you have. Todd

[PHP] DATE()

2004-11-08 Thread Aaron Todd
Is there any way yo get the date and time using date() from a Internet time server? Right now I am getting it from my servers date and time which seems to be unpredictable since my ISP seems to change it at random. Windows shows two time servers time.windows.com and time.nist.gov and I was

[PHP] Passing values from a new window

2004-11-05 Thread Todd Cary
the surfer can open a new window to get email addresses and these addresses appear in the first window. Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Passing values from a new window

2004-11-05 Thread Todd Cary
Is there a place where I can view some examples of using JavaScript? Todd Todd Cary wrote: I have a button that creates a new window. The surfer may enter data in the new window, and if he does, when the window is closed by the surfer, can the information update fields on the original page

[PHP] Passing a list in the Header

2004-11-02 Thread Todd Cary
I need to pass a list (preferably an Array) in the header. Can this be done, and if so, what is the best method? Also, how do I extract the info on the page that receives the info? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing marked rows in a table

2004-11-02 Thread Todd Cary
I create a list of records from a DB and each has a check box. What is the best way to select those that were checked after the form is submitted? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing marked rows in a table

2004-11-02 Thread Todd Cary
['checkboxname']; And then access each array element for ($i = 0; $i (count($MyAray)); $i++) echo $MyArray[$i]; Todd Pablo Gosse wrote: [snip] I create a list of records from a DB and each has a check box. What is the best way to select those that were checked after the form is submitted? [/snip

[PHP] constant tasks

2004-10-18 Thread Aaron Todd
I'm wondering if it is possible to have some kind of script running all the time. I have a site that collects data that users enter and emails certain people and does other various tasks with the data. Some of the information collected contains dates and times that could be up to three months

[PHP] With a graphic image, making text transparent

2004-10-12 Thread Todd Cary
I would like to place text on a graphic but vary the transparency of the text. Can this be done with the gd library? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Push file to FTP Server

2004-10-06 Thread Aaron Todd
Does anyone know how I might be able to have php push a file to an FTP server? Thanks, Aaron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Variable Security

2004-09-30 Thread Aaron Todd
Can anyone tell me how secure a session variable is. I realize that if someone wanted to take the time to break into my site they will eventually succeed, but I dont want to make it too easy. I have a database that stores a username and an encrypted password which both are verifyed when the

[PHP] Creating a new window

2004-09-20 Thread Todd Cary
code: input name=btnView type=button value=View onClick=MM_openBrWindow('claim_pdf.php?session_id=1095690357pdf_file=1000481.pdf','','toolbar=no,status=no,scrollbars=no,resizable=yes');nbsp; /td Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Auto escaping an apostrophy...

2004-09-20 Thread Todd Cary
I have noticed that an apostrophy is automatically escaped with a \, or at least appears to be if the surfer enters an apostrophy in a text field. Has this always been the case or is there a setting in the php.ini file that contols this? Todd -- PHP General Mailing List (http://www.php.net

Re: [PHP] Auto escaping an apostrophy...

2004-09-20 Thread Todd Cary
Many thanks to all. Todd John Legg wrote: Todd, From the PHP manual: magic_quotes_gpc boolean Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), (double quote), \ (backslash) and NUL's are escaped with a backslash automatically

[PHP] Displaying a pdf inline

2004-09-14 Thread Todd Cary
; filename=image.pdf); //header(Content-Disposition: attachment; filename=image.pdf); header(Content-Length: $download_size); header(Connection: close); readfile($SRC_FILE); } else { $msg = Cannot find the claim; } Todd -- PHP General

Re: [PHP] Displaying a pdf inline

2004-09-14 Thread Todd Cary
, the file can be opened on the server. Am I missing something simple here? Todd Curt Zirzow wrote: * Thus wrote Todd Cary: After reading the online documentation, it appears that I should be using the following code, however it does not appear to work. Are there some obvious errors

[PHP] Download Script

2004-08-27 Thread Aaron Todd
I've created a download script that works quite nicely. The only issue with it is that when I download a file where the file name is like filename v1.0.2.1.exe there is some extra characters added into the name when it is downloaded. So that file will be filename v1[1].0.2.1.exe. I am

[PHP] Re: Download Script

2004-08-27 Thread Aaron Todd
; -- -- Jasper Howard :: Database Administration Velocity7 1.530.470.9292 http://www.Velocity7.com/ -- Aaron Todd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've created a download script that works quite nicely

[PHP] Re: crypt()

2004-08-26 Thread Aaron Todd
] Aaron Todd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have developed a PHP based site that requires users to login. Their login information is kept in a MYSQL database. Currently, I am using an IF statement to verify what the user enters as their password with what

[PHP] crypt()

2004-08-25 Thread Aaron Todd
I have developed a PHP based site that requires users to login. Their login information is kept in a MYSQL database. Currently, I am using an IF statement to verify what the user enters as their password with what is in the the database. If they are the same a session is created and they

Re: [PHP] downloading files

2004-08-23 Thread Aaron Todd
I did exactly what you said but its not working for me. I am getting the following error: Warning: filesize(): SAFE MODE Restriction in effect. The script whose uid is 20373 is not allowed to access /var/www owned by uid 0 in /home/virtual/site341/fst/var/www/html/test.php on line 3 I

[PHP] readfile()

2004-08-23 Thread Aaron Todd
I'm trying to use readfile() to allow a user to download a file that is outside of my webroot. webroot = /var/www/html downloads dir = /var/www/downloads Here is the code that I have been using: $file = /var/www/downloads/test.txt; header(Content-Description: File Transfer);

Re: [PHP] readfile()

2004-08-23 Thread Aaron Todd
with something this advanced. Is there anything else I can do to further diagnose this problem? Thanks again, Aaron Greg Donald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 2004-08-23 at 13:02, Aaron Todd wrote: I'm trying to use readfile() to allow a user to download a file

Re: [PHP] downloading files

2004-08-20 Thread Aaron Todd
be used then by the script to allow access to that file (but this way might be more complicated without real benefits). Teddy Teddy - Original Message - From: Aaron Todd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 19, 2004 8:30 PM Subject: [PHP] downloading files

[PHP] downloading files

2004-08-19 Thread Aaron Todd
I posted a simular question before and never really got an answer. The post drifted off into some other valuable information, but I still have the same question. I am trying to create a site with file downloads. The files on the server that are to be downloaded need to be protected somehow. I

[PHP] str_split()

2004-08-12 Thread Aaron Todd
I was just wondering if anyone can look an the following code and tell me if there are any obvious errors. I wrote this in DZsoft PHP editor where it works perfectly. But then when I run it on my webserver it gave me a fatal error: Fatal error: Call to undefined function: str_split() in

Re: [PHP] str_split()

2004-08-12 Thread Aaron Todd
in message news:[EMAIL PROTECTED] Aaron Todd wrote: I was just wondering if anyone can look an the following code and tell me if there are any obvious errors. I wrote this in DZsoft PHP editor where it works perfectly. But then when I run it on my webserver it gave me a fatal error

Re: [PHP] str_split()

2004-08-12 Thread Aaron Todd
HAH...I found it. I have version 4.3.3 Does that version not have this function or something? Thanks, Aaron John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aaron Todd wrote: I was just wondering if anyone can look an the following code and tell me if there are any

Re: [PHP] str_split()

2004-08-12 Thread Aaron Todd
John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aaron Todd wrote: I thought someone might ask me that. I honestly dont know. I have been looking for a comand that I can run to find out, but I havent found one. I have SSH access to the server so if you know of a way

[PHP] download script

2004-08-10 Thread Aaron Todd
I was going to post another follow-up question in a pending thread here but it seems to have been deleted. Anyway, I am trying to write a download script that will downloaded files from my site. All these files need to be protected so just anybody cant come to the site and download them. I have

[PHP] download script

2004-08-10 Thread Aaron Todd
I was going to post another follow-up question in a pending thread here but it seems to have been deleted. Anyway, I am trying to write a download script that will downloaded files from my site. All these files need to be protected so just anybody cant come to the site and download them. I have

[PHP] Embeded PHP

2004-08-10 Thread Aaron Todd
I was just wondering if anyone out there is using PHP for an embeded development or knows of any devices that use PHP on their system. Thanks, Aaron Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] download script

2004-08-10 Thread Aaron Todd
, but it is only about 400 bytes and cannot be read. Thanks again for your help, Aaron John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aaron Todd wrote: snip ?php $file = /home/dlr/test/.$_GET['file'].; if (file_exists(basename($file))) { header(Content-Description

[PHP] embedded php

2004-08-10 Thread Aaron Todd
could do the same but also run some php scripts. Thanks, Aaron Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] download script

2004-08-10 Thread Aaron Todd
Why would this be a security hole if I do not filter the file name before I use it? Thanks, Aaron Ed Lazor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The other guys addressed how to get the script working, but I thought I might also mention that you're presenting a potential

Re: [PHP] Need Some Direction

2004-08-09 Thread Aaron Todd
/test/ So far under this config I cant get it to work, but I'm not sure if I'm still under the webroot in my config. Do I need to move my test directory to lets say /var/www/ or even /var/? Thanks again, Aaron Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Aaron Todd

Re: [PHP] Need Some Direction

2004-08-06 Thread Aaron Todd
PROTECTED] Aaron Todd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] So far I have made this work. But now I have to ask...what about a pdf file? I cant add php code to it so what do I do. I need to be able to restrict the pdf so a user can only get to it during a current

Re: [PHP] Need Some Direction

2004-08-06 Thread Aaron Todd
to what Miles says, use the fopen and fread commands (see manual on the PHP site) for accessing the PDF files so that you can send copies of them to the user. Examples are in the user comments of the manual. -Original Message- At 05:42 PM 8/5/2004, Aaron Todd wrote: So far I have made

[PHP] Need Some Direction

2004-08-05 Thread Aaron Todd
Hello, I am trying to build up a members only site, but I need some direction. So far I have written a page that will let a user register for access. That script emails me their info so I can validate it, sends them a thankyou email and then sends the data to a temporary MySQL database table.

Re: [PHP] Need Some Direction

2004-08-05 Thread Aaron Todd
, they will be redirected automatically to the login page. Trust this his helpful - Miles Thompson At 11:42 AM 8/5/2004, Aaron Todd wrote: Hello, I am trying to build up a members only site, but I need some direction. So far I have written a page that will let a user register for access. That script emails me

[PHP] running a script

2004-08-03 Thread Aaron Todd
Is there any way to run a php script by clicking a link? Thanks, Aaron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] running a script

2004-08-03 Thread Aaron Todd
having a link in the email so when I click on it, it runs a script that will enter all my info into the database. Any help/suggestions is appreciated. Thanks, Aaron John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 03 August 2004 12:25, Aaron Todd offered up

Re: [PHP] running a script

2004-08-03 Thread Aaron Todd
I like both of these methods...Is one of them more used regularly with PHP. I don't want to start down a road that will eventually dead end if you know what I mean. Thanks, Aaron John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 03 August 2004 13:08, Aaron Todd

Re: [PHP] running a script

2004-08-03 Thread Aaron Todd
temp_users WHERE ID=$id Thanks again. Aaron John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 03 August 2004 13:32, Aaron Todd offered up the following tid-bit of information : I like both of these methods...Is one of them more used regularly with PHP. I don't want

[PHP] Re: Slideshow using PHP

2004-07-08 Thread Todd Cary
I do have a JavaScript based SlideShow, however, I would like to use PHP rather than JavaScript. Is there a way to loop with PHP and display an image without re-displaying the whole page? Todd Alex Shi wrote: Search google for javascript slideshow script. Javascript slideshow need an array

Re: [PHP] Re: Slideshow using PHP

2004-07-08 Thread Todd Cary
to load all of the images. I am hoping there is some way to load the iamges one-at-a-time; as needed. Someone told me that there is a way to use Flash and PHP. Todd Matthew Sims wrote: I do have a JavaScript based SlideShow, however, I would like to use PHP rather than JavaScript. Is there a way

[PHP] Slideshow using PHP

2004-07-07 Thread Todd Cary
I would like to have images displayed automatically using PHP with a Database and/or an array of images. Is there any sample code available for doing that? Can that be done with Flash and PHP? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Online HTML editor

2004-06-21 Thread Todd Cary
I want to create an email application in PHP for my client so they can produce email text with different fonts and styles just using a browser. Are there any classes that would provide the means to do the editing? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Sharing encrypted data with .Net?

2004-06-08 Thread Todd Gruben
I am trying to send some encrypted data from a php application to be decoded in a .Net application. Both apps encode/decode a given string but generate different encrypted results. Anyone have any idea? Code to follow: php ?php // Designate string to be encrypted $string = This is a test;

[PHP] OnClick handler to show PDF

2004-05-13 Thread Todd Cary
cannot get the syntax correct for the OnClick. Is this the best way to use a button for the task? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OnClick handler to show PDF

2004-05-13 Thread Todd Cary
You were close enough...this works: input type=button value=View Schedule onClick=JavaScript:document.location='?php echo ( $url . $sfyc_race_schd_send ); ?' The next challenge is to create a new window and display the file. Todd John Nichel wrote: Todd Cary wrote: Currently, I have

[PHP] Making Printer Friendly files

2004-05-13 Thread Todd Cary
with pagemaker? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reshuffling an array

2004-05-12 Thread Todd Cary
found *; } asort( $eventList ); Now I want to put Any as the first item. What is the best way to do this? Often the sort puts it as an item down the list. Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reshuffling an array

2004-05-12 Thread Todd Cary
Works as advertised. Made it a sort. Todd John W. Holmes wrote: From: Todd Cary [EMAIL PROTECTED] I do the following: $eventList = array(); $eventList[] = Any; $dbh = db_open($host, $user, $password, $database); if($dbh) { $sthdl = db_get_event_data($dbh); while ($row

Re: [PHP] SMTP and changing the character set

2004-05-08 Thread Todd Cary
Thank you both for the help. One more question: can SMPT use the Asian character set since it is 16 bits? Todd Dave G wrote: Todd, Is there a way to specify a character set in a SMTP email? I've found that SMTP is really, really very particular about how you apply spacing and carriage

[PHP] Re: Graphical calendar

2004-05-08 Thread Todd Cary
Which table_class is to be used with the calendar class? Todd Manuel Lemos wrote: Hello, On 05/07/2004 11:36 PM, Todd Cary wrote: I need to bring up a calendar so the user can determine what day of the week a certain falls on, etc. My search with Google appears to have calendars

[PHP] Re: Graphical calendar

2004-05-08 Thread Todd Cary
I found it!! Todd Todd Cary wrote: Which table_class is to be used with the calendar class? Todd Manuel Lemos wrote: Hello, On 05/07/2004 11:36 PM, Todd Cary wrote: I need to bring up a calendar so the user can determine what day of the week a certain falls on, etc. My search with Google

[PHP] Re: Graphical calendar

2004-05-08 Thread Todd Cary
Works like a champ! Question: has anyone extended the class so that when one clicks on a day, the year, month, day is returned? Todd Manuel Lemos wrote: Hello, On 05/07/2004 11:36 PM, Todd Cary wrote: I need to bring up a calendar so the user can determine what day of the week a certain

[PHP] Having a problem with RCPT TO and email

2004-05-07 Thread Todd Cary
I am sending the following: fputs($smtp, RCPT TO: [EMAIL PROTECTED]\r\n); and when I receive the email, it has a Bcc: rather than a To:. Am I overlooking something here? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having a problem with RCPT TO and email

2004-05-07 Thread Todd Cary
DATA From: My real name [EMAIL PROTECTED] To: Your real name [EMAIL PROTECTED] Subject: Something to test That's it! Thanks! Petr U. wrote: On Fri, 07 May 2004 10:49:08 -0700 Todd Cary [EMAIL PROTECTED] wrote: fputs($smtp, RCPT TO: [EMAIL PROTECTED]\r\n); You should (are you

[PHP] SMTP and changing the character set

2004-05-07 Thread Todd Cary
Is there a way to specify a character set in a SMTP email? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Graphical calendar

2004-05-07 Thread Todd Cary
I need to bring up a calendar so the user can determine what day of the week a certain falls on, etc. My search with Google appears to have calendars that are like appointment books. Is there a simple graphical calendar where the use can pick a month and see the days of the week? Todd

[PHP] Header() and POST data

2004-05-06 Thread Todd Cary
I need to go to another page and I use the header(location: . $the_url_to_the_page); Is it possible to use this method with POST so that the info does not show in the URL? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header() and POST data

2004-05-06 Thread Todd Cary
Daniel - What is the best way to go to another page? header(location: . $new_page); Todd Daniel Clark wrote: No I don't think so. I need to go to another page and I use the header(location: . $the_url_to_the_page); Is it possible to use this method with POST so that the info does

[PHP] SMTP and GroupWise

2004-04-22 Thread Todd Cary
/2004 06:55:31 221 mailman.cd-hq.com Closing transmission channel Does anyone know of a class that can provide this type of authenication? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SMTP and GroupWise

2004-04-22 Thread Todd Cary
David - I am using the phpmailer class, and I do not see mention of using the POP3 for authentication. Am I missing something? Todd David O'Brien wrote: That's just basic pop before smtp. A common way of authenticating. Just make a connection to the pop server after the hello and before

[PHP] Understanding sessions

2004-04-09 Thread Todd Cary
I am trying to understand sessions are done with php. My learning script has the following: session_start(); if (isset($_SESSION['firstname'])) { $_SESSION['firstname'] = 'Todd'; } else { $_SESSION['firstname'] = 'Nobody'; } echo SESSION: . $_SESSION['firstname'] . br; echo

Re: [PHP] Understanding sessions

2004-04-09 Thread Todd Cary
If I use session_id(), I do get a value. However, I have session_use_cookies = 0 and I do not have a value for SID. Is that correct? Todd Daniel Clark wrote: Todd, I think you want the session_id() function. http://us3.php.net/manual/en/function.session-id.php I am trying to understand

Re: [PHP] Understanding sessions

2004-04-09 Thread Todd Cary
for security reasons for some pages. His preference is to have a page expire if it is arrived on by pressing the back button. Can this be done with sessions? Again, many thanks for your help as I go through the learning curve. In the past, I used my DB for storing sessions. Todd Daniel Clark wrote

[PHP] Re: imagecreatefromjpeg

2004-04-05 Thread Todd Cary
Jason - I would like to give users the ability to upload jpeg images and have my php app size them into thumbnails as well as have a larger image available if the thumbnail is clicked. Are there examples of this available? Todd Jason Barnett wrote: From http://www.php.net/manual/en

[PHP] Installing on a .NET server...

2004-03-11 Thread Todd Cary
someone at somewhere dot com 28-Aug-2002 06:02 Installing PHP 4.2.2 on Microsoft Windows .NET Server ... * Download http://us3.php.net/do_download.php?download_file=php-4.2.2-Win32.zip * Extract php-4.2.2-Win32.zip * Copy php.ini-dist %SystemRoot%\php.ini * Copy phpts.dll

[PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
How can I execute window.close() with php? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
Yes! Makes absolute sense. I put it on an Input Type=Button onClick. Thanks for your patience... Todd Richard Davey wrote: Hello Todd, Thursday, March 4, 2004, 6:52:33 PM, you wrote: TC How can I execute window.close() with php? You can't, PHP is a server side language. You can echo out

[PHP] Obtaining the image size with gd library

2004-03-02 Thread Todd Cary
in the gd library that will give me that? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Specifying file paths in Windows

2004-01-21 Thread Todd Cary
$cl_absolute_image = $workdir . \\tiff\\ . $cl_image; Do you have a suggestion on a better way to do it? Todd Luke wrote: try removing the dot and / so if (is_file(filedir/test.txt)) echo Found it!; else echo Not found; that should work on windows and unix platforms, i dont think

[PHP] Specifying file paths in Windows

2004-01-20 Thread Todd Cary
; This is working with Linux, but it does not work with NT. Can someone tell me why it does not work? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   >