RE: [PHP] HELP PLEASE ! Need PHP Advice !!!
First of all, are they paying you to automate or to repurpose the content for the web? Taking a page designed for print and then "automating" it into a page for the web is the wrong approach, your problem is not technical it is a design problem. Technically it is easy, I think, does Quark not have XML output? Or I think it is able to save document as HTML for the web too, then if you want to "automate" all u have to do is make a script that includes those pages inside a site shell. I actually wrote something like this that one could save an html file from word and upload it and it would be on the site, but again, I think it's a bad idea. You should NOT try to automate this, you should look into hiring a fulltime repurposing designer, at LEAST you should read "designing Web Usability" by Jacob Nielson, then maybe u get a better idea of what you SHOULD do. - Vic -Original Message- From: justin brenton [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 7:24 AM To: [EMAIL PROTECTED] Subject: [PHP] HELP PLEASE ! Need PHP Advice !!! can anyone give me some good advise on how abouts I should go about maintaining a newspaper website. here is what is currently in place and how i want it to be managed right now the newspapers are published in a quark file from that file pictures have to be placed in photoshop and resized , croped and what not and then inserted into a html page, the content i.e text is in this quark file as well and is copied and pasted into a html file, what i want to do is have the site automated to some extent so i do not have to be doing all this copying and pasteing it's a total waste valueable time. what i would like to have it some way to have a php script to take this info from the quark file and the pictures and have them either transfered to a html page or to a database from there i could call from the php script. ANYONE HAVE ANY IDEAS ON A GOOD WAY TO GO ABOUT THIS ... PLEASE CONTACT ME [EMAIL PROTECTED] remove the NOSPAM from address -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP on IIS session problems
I get these errors from a simple "session_start();" script. Warning: session_start() [function.session-start]: open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\picoblog\admin.php:2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\picoblog\admin.php:2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP on IIS session problems
Ok, thanks guys for your help, I sort of figured that's the problem, but I didn't want to touch the ini settings without being sure, and getting some advice from people that know. Thanks again, great help. I made the changes, now how do I restart php? So the changes are used? - Vic -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:23 AM To: Victor Stan; [EMAIL PROTECTED] Subject: Re: [PHP] PHP on IIS session problems > I get these errors from a simple "session_start();" script. > > Warning: session_start() [function.session-start]: > open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such > file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 Do you have a /tmp folder on your computer? Probably not, so that's why PHP is throwing a warning, because it can't write to a directory that doesn't exist. > Warning: session_start() [function.session-start]: Cannot send session > cookie - headers already sent by (output started at > c:\inetpub\wwwroot\picoblog\admin.php:2) in > c:\inetpub\wwwroot\picoblog\admin.php on line 2 > > Warning: session_start() [function.session-start]: Cannot send session cache > limiter - headers already sent (output started at > c:\inetpub\wwwroot\picoblog\admin.php:2) in > c:\inetpub\wwwroot\picoblog\admin.php on line 2 These are just by-products of the first error. Set your session.save_path setting in php.ini to a folder that IIS can write to. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP on IIS session problems
K, thanks, I tried stopping just the web sites from the control panel, but I guess I had to stop the whole thing and restart. - Vic -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:07 AM To: Victor Stan; [EMAIL PROTECTED] Subject: Re: [PHP] PHP on IIS session problems You need to restart IIS. c:\> net stop iisadmin c:\> net start w3svc or use the control panel. ---John Holmes... - Original Message - From: "Victor Stan" <[EMAIL PROTECTED]> To: "1LT John W. Holmes" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 12:54 PM Subject: RE: [PHP] PHP on IIS session problems > Ok, thanks guys for your help, I sort of figured that's the problem, but I > didn't want to touch the ini settings without being sure, and getting some > advice from people that know. Thanks again, great help. > > I made the changes, now how do I restart php? So the changes are used? > > - Vic > > -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 10:23 AM > To: Victor Stan; [EMAIL PROTECTED] > Subject: Re: [PHP] PHP on IIS session problems > > > I get these errors from a simple "session_start();" script. > > > > Warning: session_start() [function.session-start]: > > open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such > > file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2 > > Do you have a /tmp folder on your computer? Probably not, so that's why PHP > is throwing a warning, because it can't write to a directory that doesn't > exist. > > > Warning: session_start() [function.session-start]: Cannot send session > > cookie - headers already sent by (output started at > > c:\inetpub\wwwroot\picoblog\admin.php:2) in > > c:\inetpub\wwwroot\picoblog\admin.php on line 2 > > > > Warning: session_start() [function.session-start]: Cannot send session > cache > > limiter - headers already sent (output started at > > c:\inetpub\wwwroot\picoblog\admin.php:2) in > > c:\inetpub\wwwroot\picoblog\admin.php on line 2 > > These are just by-products of the first error. > > Set your session.save_path setting in php.ini to a folder that IIS can write > to. > > ---John Holmes... > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Post your free ad now! http://personals.yahoo.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php