Re: [PHP] Adopt A Newbie (ME)
At 01:36 PM 8/2/01 -0700, Kyle Smith wrote: could somebody guide me through the usage of mySQL and PHP and show me how to input data into a mySQL database and read it Kyle, I wrote a script which does all that and it's open source. You can see the script in action if you go to the Stupid Web Tricks section of Cat 'n Moose at http://catnmoose.com/stupid.shtml Download the source code from devshed at devshed.com/ClipScripts/results/453 hth, Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) http://face2interface.com/Demo -- 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]
Re: [PHP] Re: Content Management Systems
Ralph Guzman [EMAIL PROTECTED] wrote in message I am looking for new alternatives in web development and maintenance. Anybody have any suggestions or comments on any open source/commercial PHP+mySQL based CMS programs? You could check out my web-based CMS SIMPL. It's written in Perl and only the driver installed on the customer's site is source-readable, but on the bright side it has: 1. easy webmaster interface 2. ability to change site design at the click of the mouse 3. allows up to a three level hierarchy 4. page renderings are quick, usually under 12 seconds on my voice modem 5. owner viewable page view log including referers 6. cheap; it's bundled with my basic hosting plan and I'm running a promotional special right now Check out http://newdiets.com for an example of a SIMPL website, and the SIMPL demo which is on my business site, http://face2interface.com/Demo hth, Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) http://face2interface.com/Demo -- 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]
Re: [PHP] doing a task, like a program running forever
At 01:31 pm 7/28/01 -0300, Augusto Cesar Castoldi wrote: I want that each hour my script gets the weather of a site (like yahoo) and write to a txt file. Hi Augusto. first write the script to accomplish this function. If you're on a Unix type server you can then use the crontab function to have the program run once an hour. You could have the output from that program go to a file. Then for the webpage that serves up that data you can read the contents of the file the hourly program has created. BTW, you should make sure you're doing this in a way that Yahoo (for example) finds acceptable usage, e.g. by contacting them first for permission to post their data to your site. Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) http://face2interface.com/Demo -- 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]
Re: [PHP] Arabic php
At 12:10 pm 7/26/01 +, kaab kaoutar wrote: How to display Arabic ina php file ? I mean in a pc who's os does not support arabic, how a user can watch my arabic php file Kaab, If the visitor's computer doesn't support Arabic display then I think you're left with preparing image files. So long as you've got Arabic fonts installed on your computer, and a graphics program which can use them, you can create gif images and use those to display to your pages. Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) http://face2interface.com/Demo -- 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]
Re: [PHP] Executing after certain time
At 08:41 am 7/5/01 -0700, Oliver Hotz wrote: Hey guys, I have a php script that generates files, and a www page that links to them. Is there a way to delete those files, based on a time variable ?.. Why not have cron kick off a script every minute that checks all candidate files and deletes the ones that need it. You can either embed the delete criteria within the file name or alternatively have the program which creates the candidate files post entries to a control file which the cron pgm reads. What about updating the links on the webpage though? You'll have to handle this too unless the page is written by a program which generates links on the fly based on candidate file availability. Like generating the links from a read of the candidate file directory. Of course you'll want a very appealing 404 handler (see .htaccess for those) because the webpage could be invoked by a visitor to the site displaying links that are clobbered some seconds/minutes later by the cron job. Then the visitor clicks and it ain't there. :( Maybe there's a better way to accomplish what you're after?? hth, Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) Online Demo Available http://face2interface.com/Home/Demo.shtml -- 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]
Re: [PHP] uploading to another server
At 03:13 pm 6/24/01 +0200, Siim Einfeldt aka Itpunk wrote: My scripts and the site itself are on one server, but I need to upload files to another server. How could I do it without using ftp functions? You can do a post, or if the file's small enough a get. Or write a receiver program on the one server, and a transmitter program on the other which prints out the file upon (authorized) request. My content management system SIMPL passes files from the webmaster interface screen on my site over to the customer's hosting server; however I decided to use FTP in the backend to accomplish the task. Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) Online Demo Available http://face2interface.com/Home/Demo.shtml -- 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] OT - filtering problems
Sorry for this OT post. Since the lists have come back up I've been having a problem getting my email client, Eudora 5.0.2 sponsored mode for Win95 to filter them correctly. I've tried several times and combinations and still everything goes into my inbox. I've got several dozen filters, and a couple others are giving me trouble too. I'm a bit stymied; could there be something weird and wonderful about the headers for this list's (and a couple others) that confuse Eudora? Anyone else having this same problem, or have any advice on how I might debug this? Offlist replies are totally fine. Thanks in advance, Marty Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) Online Demo Available http://face2interface.com/Home/Demo.shtml -- 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]