[wdvltalk] RE: Looking for instant messanger script
Here, I compiled it for you... http://www.aol.com/downloads/aim.exe ;~#) j/k... I don't know of any, and based on the nature of ASP, I don't see that it would be reasonable. Both sides would have to initiate a reload of any page, or have them timed to reload. Neither would be a pretty solution. The nature of IM requires a connectioned protocol...and of course, ASP and jscript even are connection-less, out-of-scope processes. Pretty sure you're gonna need Java, at the minimum. J.R. Pitts http://www.wjponline.com -Original Message- From: Diane Schips [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 10:29 PM To: [EMAIL PROTECTED] Subject: [wdvltalk] Looking for instant messanger script Hi all, I'm looking for a simple Instant Messenger script for ASP. I just want two people, both of whom are logged into the site to be able to initiate and carry on conversations with each other. Can this be done, or is it a very complicated thing. Diane [EMAIL PROTECTED] www.GreenFireHerbs.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] SCR: http://www.stewartandcompany.net
Hello everyone, I would appreciate it if you would take the time to check out my new site design: http://www.stewartandcompany.net I have put a lot of energy into making it as user-friendly as possible with redundant links and putting things exactly where they "should be." I welcome your comments. The text is 98% finished...I'm still tweaking it. If you english gurus feel like correcting any part, please feel free. Fire away! Thanks so much, Will Stewart The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Looking for instant messanger script
Hi all, I'm looking for a simple Instant Messenger script for ASP. I just want two people, both of whom are logged into the site to be able to initiate and carry on conversations with each other. Can this be done, or is it a very complicated thing. Diane [EMAIL PROTECTED] www.GreenFireHerbs.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Stephen, I'm using html-kit which is probably similar, using colour and bold to show what is happening. Of course it needs me to know what it is signifying, which is beginning to happen! But the quotes do not stand out, though sometimes the part affected is visible by being the wrong colour. But it is the old problem of when it is not there one needs to know it should be! I do seriously need to visit the optician; there is just that slight loss of definition, and I was set up with reading, monitor and other glasses, but my eyes seem to change with some regularity - sometimes the change is improvement! Code, of course, needs a high definition. --- And that has made me search to make the face larger;12pt is quite good. Perhaps I'll spot the typos more easily - and work out the script author's errors with less aggro! Code completion sound good, so I'll have a look. Off to Google.. Joseph --- Smile-Poet wrote: --- : Jon, : : That is really helpful; some of it I had picked up, and it : confirms it and makes it orderly. Funny, I was nervous about : removing quotes from DOCUMENT ROOT and its brethren, but : increasingly I am thinking this is a code full of little gremlins : having fun! : : I can't see a missing quote a first glance, but now I have to go : out so I'll come back to it later, and maybe spot straight away. : I wonder if all the errors in this script mean it wasn't tested : properly, of if it means that each environment for php/mysql has : its own little tricks? : : Joseph Joe, re: "I can't see a missing quote a first glance" a good editor should pick up things like this with syntax highlighting. If you're looking for a good, free PHP editor for windows, which does support syntax highlighting and code completion just to name a couple, you might try phpEdit[1]. I've been using it for a couple of months now and like it quite a lot and after spending a few days getting it configured and tweaked, it does pretty much everything I could ask for, all in a neat, free little package :) My only gripe is that development doesn't seem to be incredibly active. Not inactive, just not overly so. hth, Stephen http://www.mechavox.com/ [1] http://phpedit.net/products/PHPEdit/ . The WDVL Discussion List from WDVL.COM . To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Jon, Just to update. It was a missing single quote at the end of an echo line. Now I get the error appropriate to the fact that the script can't access Amazon, which is as it should be. Cleary there is some difference, too, inside a foreach; until these variants are clear it makes fro a very furrowed brow. Still, I am at least getting close to the point I wanted to be at two months ago... Thanks for the help. Joseph > Jon, > > That is really helpful; some of it I had picked up, and it confirms it and > makes it orderly. Funny, I was nervous about removing quotes from DOCUMENT > ROOT and its brethren, but increasingly I am thinking this is a code full of > little gremlins having fun! > > I can't see a missing quote a first glance, but now I have to go out so I'll > come back to it later, and maybe spot straight away. I wonder if all the > errors in this script mean it wasn't tested properly, of if it means that > each environment for php/mysql has its own little tricks? > > Joseph > > > Joseph, > > > > > And I have had to take more quotes away! > > > > PHP's quote handling is a bit strange and can take some getting to grips > > with :-) > > > > Strings inside double quotes are parsed, meaning you can do this sort of > > thing: > > > > // my pet is a cat > > $pet = "cat"; > > echo "my pet is a $pet."; > > > > Strings inside single quotes aren't parsed, so you can do this: > > > > // my pet is a $pet > > $pet = "cat"; > > echo 'my pet is a $pet.'; > > > > If you want to show the variable, you have to concatenate it: > > > > // my pet is a cat > > $pet = "cat"; > > echo 'my pet is a '. $pet; > > > > This extends to pretty much everything: > > > > // new > > // line > > echo "new\nline"; > > > > // new\nline > > echo 'new\nline'; > > > > Single quotes are a *tiny* bit faster, but the big advantage of using them > > is that you don't end up with messy escape characters. For example: > > > > echo ""; > > > > To stop the PHP interpreter thinking your echo statement ends at any of > the > > quotes in the HTML, you have to escape them with the backslash. > > > > If you use single quotes you sidestep this neatly: > > > > echo ''; > > > > When you're accessing arrays you can use either, but again single quotes > > will be slightly faster: > > > > // either of these will work > > $foo = $bar["baz"]; > > $foo = $bar['baz']; > > > > Just to through a spanner in the works, there are some constants that will > > work in arrays without any quotes - they're easy to spot though, as > they're > > usually in capitals (like DOCUMENT_ROOT). > > > > > unexpected $end in c:\easyphp1-7\www\books.php on line 118 > > > the closing '?>' is line 117 > > > > You're probably missing a semicolon somewhere :-) > > > > Cheers > > Jon The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: SQL: Adding slashes
Forward slashes should be fine. What database are you using, and what's the data type of the field that's causing you problems? Perhaps you can supply the SQL statement too? Amrit Hallan wrote: How do we add records to an SQL table that contains forwarded slashes? It gives an error when i try to enter a URL. Thanks Amrit http://www.bytesworth.com -- :: Howard Cheng http://www.howcheng.com/ Wise-cracking quote goes here. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] SQL: Adding slashes
How do we add records to an SQL table that contains forwarded slashes? It gives an error when i try to enter a URL. Thanks Amrit http://www.bytesworth.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: OT: Copy/Backup Software Recommendations Please
I don't remember if W2K had cd burning built-in but I guess you'll find out. Otherwise, take a look at Roxio's offering. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Peter MacGregor I'm using W2k but I get the idea - I'll give it a try. Thanks. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: OT: Copy/Backup Software Recommendations Please
I'm using W2k but I get the idea - I'll give it a try. Thanks. Peter MacGregor At 16:47 19/04/2004, you wrote: You mean Nero won't let you burn a directory/folder and all of the files in it to a cd just as a copy operation? For the type of clients you describe a copy rather than a back up would be the best way. FWIW, I prefer to back-up by making copies since I've had horrible luck with compressed back-ups and recovering files. If you are running Windows XP you can do it using the built-in utility by right clicking on the top level folder you want to copy and using "Send To" and selecting your cd burner as the destination. Then open the cd burner drive and use "File | Write these files to CD" (if you are using classic interface otherwise there will be a link in the sidebar). When you are done it will ask you if you want to make another copy or delete the file from (only the pointers on what to burn not the originals). XP isn't the fastest way to burn a cd, using Roxio's EZ CD or EZ Media Creator burns faster. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Peter MacGregor Many of my clients are barely computer literate (one or two barely literate in any form!!) so whatever I supply really does have to be the proverbial "idiot-proof" Any suggestions for an alternative would be welcome! Remember - it's not the document format that is the problem - it's the backup software. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
--- Smile-Poet wrote: --- : Jon, : : That is really helpful; some of it I had picked up, and it : confirms it and makes it orderly. Funny, I was nervous about : removing quotes from DOCUMENT ROOT and its brethren, but : increasingly I am thinking this is a code full of little gremlins : having fun! : : I can't see a missing quote a first glance, but now I have to go : out so I'll come back to it later, and maybe spot straight away. : I wonder if all the errors in this script mean it wasn't tested : properly, of if it means that each environment for php/mysql has : its own little tricks? : : Joseph Joe, re: "I can't see a missing quote a first glance" a good editor should pick up things like this with syntax highlighting. If you're looking for a good, free PHP editor for windows, which does support syntax highlighting and code completion just to name a couple, you might try phpEdit[1]. I've been using it for a couple of months now and like it quite a lot and after spending a few days getting it configured and tweaked, it does pretty much everything I could ask for, all in a neat, free little package :) My only gripe is that development doesn't seem to be incredibly active. Not inactive, just not overly so. hth, Stephen http://www.mechavox.com/ [1] http://phpedit.net/products/PHPEdit/ The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: OT: Copy/Backup Software Recommendations Please
You mean Nero won't let you burn a directory/folder and all of the files in it to a cd just as a copy operation? For the type of clients you describe a copy rather than a back up would be the best way. FWIW, I prefer to back-up by making copies since I've had horrible luck with compressed back-ups and recovering files. If you are running Windows XP you can do it using the built-in utility by right clicking on the top level folder you want to copy and using "Send To" and selecting your cd burner as the destination. Then open the cd burner drive and use "File | Write these files to CD" (if you are using classic interface otherwise there will be a link in the sidebar). When you are done it will ask you if you want to make another copy or delete the file from (only the pointers on what to burn not the originals). XP isn't the fastest way to burn a cd, using Roxio's EZ CD or EZ Media Creator burns faster. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Peter MacGregor Many of my clients are barely computer literate (one or two barely literate in any form!!) so whatever I supply really does have to be the proverbial "idiot-proof" Any suggestions for an alternative would be welcome! Remember - it's not the document format that is the problem - it's the backup software. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Jon, That is really helpful; some of it I had picked up, and it confirms it and makes it orderly. Funny, I was nervous about removing quotes from DOCUMENT ROOT and its brethren, but increasingly I am thinking this is a code full of little gremlins having fun! I can't see a missing quote a first glance, but now I have to go out so I'll come back to it later, and maybe spot straight away. I wonder if all the errors in this script mean it wasn't tested properly, of if it means that each environment for php/mysql has its own little tricks? Joseph > Joseph, > > > And I have had to take more quotes away! > > PHP's quote handling is a bit strange and can take some getting to grips > with :-) > > Strings inside double quotes are parsed, meaning you can do this sort of > thing: > > // my pet is a cat > $pet = "cat"; > echo "my pet is a $pet."; > > Strings inside single quotes aren't parsed, so you can do this: > > // my pet is a $pet > $pet = "cat"; > echo 'my pet is a $pet.'; > > If you want to show the variable, you have to concatenate it: > > // my pet is a cat > $pet = "cat"; > echo 'my pet is a '. $pet; > > This extends to pretty much everything: > > // new > // line > echo "new\nline"; > > // new\nline > echo 'new\nline'; > > Single quotes are a *tiny* bit faster, but the big advantage of using them > is that you don't end up with messy escape characters. For example: > > echo ""; > > To stop the PHP interpreter thinking your echo statement ends at any of the > quotes in the HTML, you have to escape them with the backslash. > > If you use single quotes you sidestep this neatly: > > echo ''; > > When you're accessing arrays you can use either, but again single quotes > will be slightly faster: > > // either of these will work > $foo = $bar["baz"]; > $foo = $bar['baz']; > > Just to through a spanner in the works, there are some constants that will > work in arrays without any quotes - they're easy to spot though, as they're > usually in capitals (like DOCUMENT_ROOT). > > > unexpected $end in c:\easyphp1-7\www\books.php on line 118 > > the closing '?>' is line 117 > > You're probably missing a semicolon somewhere :-) > > Cheers > Jon The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] OT: Copy/Backup Software Recommendations Please
What do you folks use for your copy/backup software when copying/backing up to CD? When I bought my CD Writer I got a copy of Nero bundled free with it. Research using Google seemed to show it was the most popular. Now, however, I've discovered that it does not back-up multi-level directories! I've sent two requests to Nero to ask if there is any way round this and got the usual answer from "Technical Support" of Zilch both times!! Fortunately I found out before it was too late - but I need something that will handle multi-level directory copy and/or back-up automatically. The real reason I need this (apart from doing backups) is for the work I do for Health and Safety for small firms where I want to copy several hundred documents that are in a variety of multi-level directories to give a set to each new client. These are the basic policies, procedures and so on they will need to meet legal requirements. I have them set up in Word and automatically drop their logo (if any) into each one so they get a customised set. As Nero won't do multi levels, it takes me around an hour each time to produce the CD with everything on in a way that the client can follow the logical sequence of them when producing their own manuals. Many of my clients are barely computer literate (one or two barely literate in any form!!) so whatever I supply really does have to be the proverbial "idiot-proof" Any suggestions for an alternative would be welcome! Remember - it's not the document format that is the problem - it's the backup software. Peter MacGregor The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Joseph, > And I have had to take more quotes away! PHP's quote handling is a bit strange and can take some getting to grips with :-) Strings inside double quotes are parsed, meaning you can do this sort of thing: // my pet is a cat $pet = "cat"; echo "my pet is a $pet."; Strings inside single quotes aren't parsed, so you can do this: // my pet is a $pet $pet = "cat"; echo 'my pet is a $pet.'; If you want to show the variable, you have to concatenate it: // my pet is a cat $pet = "cat"; echo 'my pet is a '. $pet; This extends to pretty much everything: // new // line echo "new\nline"; // new\nline echo 'new\nline'; Single quotes are a *tiny* bit faster, but the big advantage of using them is that you don't end up with messy escape characters. For example: echo ""; To stop the PHP interpreter thinking your echo statement ends at any of the quotes in the HTML, you have to escape them with the backslash. If you use single quotes you sidestep this neatly: echo ''; When you're accessing arrays you can use either, but again single quotes will be slightly faster: // either of these will work $foo = $bar["baz"]; $foo = $bar['baz']; Just to through a spanner in the works, there are some constants that will work in arrays without any quotes - they're easy to spot though, as they're usually in capitals (like DOCUMENT_ROOT). > unexpected $end in c:\easyphp1-7\www\books.php on line 118 > the closing '?>' is line 117 You're probably missing a semicolon somewhere :-) Cheers Jon The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Jon, 120 apostrophes and deletions later I can confirm that that wasn't it! Would you believe it moved on when I took the quotes away from DOCUMENT ROOT ?And wants double quotes round 'echo' strings And I have had to take more quotes away! But now I am getting this, and I can't remember how I solved this on other files. unexpected $end in c:\easyphp1-7\www\books.php on line 118 the closing '?>' is line 117 Joseph > Joseph, > > > This is the foreach: > > foreach ($xml_tree[PRODUCTINFO][0][DETAILS] AS $product) { > > > > Followed by a set of lines which are variations on this cut and paste > > $product_manufacturer = $product[MANUFACTURER][0][VALUE]; > > Try sticking quotes round the array indices (the bits in square brackets): > > foreach ($xml_tree['PRODUCTINFO'][0]['DETAILS'] as $product) { > > You may not need then on the middle one if it's only ever numeric. > > It's also worth checking your array is being filled correctly before the > foreach() - a good test is to use print_r, like this: > > echo ""; > print_r ($xml_tree); > echo ""; > > HTH, > Jon > > > . The WDVL Discussion List from WDVL.COM . > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] >Send Your Posts To: [EMAIL PROTECTED] > To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > http://www.wdvl.com ___ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: annoying behaviour when copying text from word to interdev
If you are working in ASP.NET take a look at Webmatrix http://asp.net. Your boss will love the price tag. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: cronan gogarty I havent done much development in VS.NET, but what I saw looked pretty cool. Is it any better for developing web apps? Maybe I could convince my boss to upgrade!! The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Happier - a lot, but stupid php undefined function
Joseph wrote: As if the inbuilt faults weren't enough I had to develop one all by myself! The 'form' file that was giving trouble` had entirely the wrong contents!!! I had typed in a php file, which is a later part of the script. Joseph wearing dunces cap and standing in the corner. Tim: We've all been there, Joseph, no need to stand in the corner. Speaking for myself, I still do similar things occasionally and have to step back and take three deep breaths before re-attacking a non-bug. Missing tables, missing procedures, missing permissions [uh, not to mention things like the webserver not being turned on]...it's all a part of the game. All this kind of stuff can happen before you ever code a single line. :-) Tim The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Joseph, > This is the foreach: > foreach ($xml_tree[PRODUCTINFO][0][DETAILS] AS $product) { > > Followed by a set of lines which are variations on this cut and paste > $product_manufacturer = $product[MANUFACTURER][0][VALUE]; Try sticking quotes round the array indices (the bits in square brackets): foreach ($xml_tree['PRODUCTINFO'][0]['DETAILS'] as $product) { You may not need then on the middle one if it's only ever numeric. It's also worth checking your array is being filled correctly before the foreach() - a good test is to use print_r, like this: echo ""; print_r ($xml_tree); echo ""; HTH, Jon The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Jon, I tried that and no effect; I found a 'tyop' (which describes it perfectly) and no effect. The file begins with two other includes which cause no problem - even though (by error) I at first had a cut and paste of one of those it still produced the error. This is the foreach: foreach ($xml_tree[PRODUCTINFO][0][DETAILS] AS $product) { Followed by a set of lines which are variations on this cut and paste $product_manufacturer = $product[MANUFACTURER][0][VALUE]; These are part of a script to get to Amazon. I am testing without getting amazon codes, but I can't why that should produce this error;there is an error report for 'service down', which I do expect to see. Joseph > Joseph, > > > include $_SERVER['DOCUMENT_ROOT']. > > '/html/books_layout.html'; > > > > unexpected T_STRING, expecting ',' or ';' > > > > What might be causing the confusion? > > include() is a function, so you need to surround the address with brackets, > like this: > > include ($_SERVER['DOCUMENT_ROOT']. '/html/books_layout.html'); > > That may not be the cause of this particular error (you may have a tyop on a > line above) but it's certainly a good starting point :-) > > Cheers > Jon > > > . The WDVL Discussion List from WDVL.COM . > To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] >Send Your Posts To: [EMAIL PROTECTED] > To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. > To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > > http://www.wdvl.com ___ > > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% > > To unsubscribe via postal mail, please contact us at: > Jupitermedia Corp. > Attn: Discussion List Management > 475 Park Avenue South > New York, NY 10016 > > Please include the email address which you have been contacted with. > The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: php include oddity in foreach statement
Joseph, > include $_SERVER['DOCUMENT_ROOT']. > '/html/books_layout.html'; > > unexpected T_STRING, expecting ',' or ';' > > What might be causing the confusion? include() is a function, so you need to surround the address with brackets, like this: include ($_SERVER['DOCUMENT_ROOT']. '/html/books_layout.html'); That may not be the cause of this particular error (you may have a tyop on a line above) but it's certainly a good starting point :-) Cheers Jon The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.