Re: [wdvltalk] AJAX Libraries

2009-02-18 Thread Sheila Fenelon
Matthew Macdonald-Wallace wrote: > Straw Poll - which AJAX Libray do people use? > > Yahoo > Scriptaculous > jquery > others > I inherited a couple of sites with scriptaculous already in use. On another I added jQuery. I like jQuery better. Sheila -- http://www.shefen.com/ • The WDVL Dis

[wdvltalk] Hey Rudy!

2009-02-18 Thread Sheila Fenelon
Look what I found in my morning email: > Our latest book, "Simply SQL" -- By Rudy Limeback, is now available > from sitepoint.com ... > > Simply SQL is a practical step-by-step guide to writing SQL. You'll > learn how to make the most of your data using best-practice SQL > code. > > Rather

Re: [wdvltalk] aol mail

2008-12-01 Thread Sheila Fenelon
Hi Steve, Maybe this page will help http://postmaster.aol.com/guidelines/bestprac.html Sheila http://www.shefen.com/ steve miller wrote: > Hi Dave. > > I noticed that text/html just after I sent this and changed it it > text/plain, because I am not sending html at all. > I have sent mail (bo

Re: [wdvltalk] url rewrite help needed

2008-10-19 Thread Sheila Fenelon
de the URL is viewable on the protected site right? You can't hide it completely. It'll be in the browser's history as well. > > On Oct 19, 2008, at 8:28 PM, Sheila Fenelon wrote: > >> steve miller wrote: >>> Guess I need to give more info. >>> This

Re: [wdvltalk] url rewrite help needed

2008-10-19 Thread Sheila Fenelon
steve miller wrote: > Guess I need to give more info. > This is a private site that the school does not want accessed via the > open web. > They don't have an intranet, so what we are doing is making it only > available through a site that they contract (edline.net). > In this way, school members l

Re: [wdvltalk] Introductions

2008-09-12 Thread Sheila Fenelon
And how many abby-normal members. :) Welcome Zach, I'm in Texas. Sheila http://www.shefen.com/ Linda Cole wrote: > Peter!! Shh!! I'm hiding! > > Welcome to the group Zach! > > We had 528 normal members as of 9/8/08. Now it's 529. :) > > Have a great weekend everyone! > > Lind

Re: [wdvltalk] hide image source

2008-08-09 Thread Sheila Fenelon
steve miller wrote: > > So, think there is a way to do the background="image.php" kind of thing? > Try using the complete URL for image.php, starting with http:// That should turn it into a request to the server, which should make the PHP code run. Sheila -- http://www.shefen.com/ • The W

Re: [wdvltalk] bad guys got me

2008-06-17 Thread Sheila Fenelon
I decoded some of the strings in the script and found http://7.rssnews.ws Googling for 7.rssnews.ws yields this discussion http://forums.oscommerce.com/lofiversion/index.php?t301350.html It's an OsCommerce forum but I don't think this is necessarily an OsCommerce problem. You apparently have wr

Re: [wdvltalk] [XML/PHP] Getting PHP to convert 'blogger' generated XML into an array.

2008-05-30 Thread Sheila Fenelon
Check the safe-mode settings. It could be that loading from an external url is not allowed. Sheila Tris wrote: Cheers Shelia... Sadly, thta brings up: bool(false) I'm thinking it's a server config issue, but I don't know what it might be? Anyone know? 2008/5/30 Sheila

Re: [wdvltalk] [XML/PHP] Getting PHP to convert 'blogger' generated XML into an array.

2008-05-30 Thread Sheila Fenelon
Tris wrote: I've been tasked with converting this: http://www.makersmark.co.uk/blog/atom.xml into an array... each time I try I get nothing. I've validated the XML, it's good. Has anyone before me succesfully exported a blogger XML file and parsed it n PHP? Loading xml into an object is, we

Re: [wdvltalk] Setting PHP variables...

2008-04-23 Thread Sheila Fenelon
Tris wrote: Hi all... I'm on site this week and working on a project that the server has Global Variables turned off(I know I know, I SHOULD be doing that by default..!) Anyhoo, When I needed something dynamic, I simply did: if (isset($_SESSION["userId"])) { $showMessage = "welcome"; } Howeve

Re: [wdvltalk] Regular Expressions in PHP

2007-10-25 Thread Sheila Fenelon
Dan Parry wrote: Of course to target and replace just the dash you could use preg_replace('/([0-9]+)(-)([0-9]+)/', '$1dash$3', '47-73'); where the word 'dash' is your replacement dash naturally :) Just to 'splain that a little ... $string = '47-73'; $pattern = '/([0-9]+)(-)([0-9]+)/'; $repl

Re: [wdvltalk] encryption help

2007-09-14 Thread Sheila Fenelon
ting app maintains the logged in state so it could be easier said than done. Sheila On Sep 14, 2007, at 12:09 PM, Sheila Fenelon wrote: Can you add a field to the current table? Sheila steve miller wrote: Hi Sheila. I'll ask him but I think it's because then we have to maintain

Re: [wdvltalk] encryption help

2007-09-14 Thread Sheila Fenelon
more place they have to go. steve On Sep 14, 2007, at 11:39 AM, Sheila Fenelon wrote: steve miller wrote: The person passing the task to me is an IT person who is in charge of all security issues at the company, and he is usually very strict about confidentiality and legality. He also has a

Re: [wdvltalk] encryption help

2007-09-14 Thread Sheila Fenelon
steve miller wrote: The person passing the task to me is an IT person who is in charge of all security issues at the company, and he is usually very strict about confidentiality and legality. He also has all of the plain text versions of the passwords as well as the encrypted versions. If y

Re: [wdvltalk] encryption help

2007-09-14 Thread Sheila Fenelon
steve miller wrote: I have a client who wants me to use the usernames/passwords in an existing database as the authentication for a new web application (so that he doesn't have to make users enter the info into 2 places). The problem is that the passwords in the existing database are encrypted,

Re: [wdvltalk] i'm outta here !!!

2007-06-15 Thread Sheila Fenelon
r937 wrote: okay, that's it, i'm outta here !!! have a nice weekend folks, those of you not yet already having it see you back here monday morning!! ;o) oh, who am i kidding, i'll be back here tomorrow I took last weekend off, and went camping. No computers and limited cell phone servic

Re: [wdvltalk] Email addresses on websites

2007-05-17 Thread Sheila Fenelon
Todd Richards wrote: Thanks Ross. This is an interesting article: http://accessfp.net/protect-your-email-address.htm I tested one of my pages without the mailto: link and it still found the address on the page. Here is a way to test a page: http://willmaster.com/possibilities/demo/RetrieveEmail

Re: [wdvltalk] ftp help

2007-03-07 Thread Sheila Fenelon
ement like on a command line, but I don't know the correct syntax. Something like: exec (" ftp ftp://user:[EMAIL PROTECTED]/path path/to/files/*.* ") Would this work? On Mar 7, 2007, at 11:30 AM, Sheila Fenelon wrote: You could start by running the PHP script via cron. If the

Re: [wdvltalk] ftp help

2007-03-07 Thread Sheila Fenelon
php script. The php script would need to read the input, handle just one file and then exit. Hope the makes sense, Sheila steve miller wrote: yes, I can cron! On Mar 7, 2007, at 10:03 AM, Sheila Fenelon wrote: steve miller wrote: Hi all. Probably a simple question for *nix people, but

Re: [wdvltalk] ftp help

2007-03-07 Thread Sheila Fenelon
steve miller wrote: Hi all. Probably a simple question for *nix people, but not for a newbie :) I want to ftp the contents of a large directory from one server to another (probably 300 files @ 20MB each). I have the login and paths for both the sending server and the receiving, but I don't have

Re: [wdvltalk] PHP date month list...?

2007-02-15 Thread Sheila Fenelon
Tris wrote: Why doesn't this 'function' output a list of months? for ($h = 1; $h <= 12; $h++) { $monthNo = date("m", $h); $monthName = date("M", $h); $flightdateListMonth .= "" . $monthName . ""; } date() needs a timestamp http://www.php.net/manual/en/function.date.php $flightda

Re: [wdvltalk] PHP, 8 digit string, to 8 item array..

2007-01-16 Thread Sheila Fenelon
Tris wrote: I wanna take an Int (eg: 48392034) and make an array: $myArray[0] = 4; $myArray[1] = 8; $myArray[2] = 3; $myArray[3] = 9; $myArray[4] = 2; $myArray[5] = 0; $myArray[6] = 3; $myArray[7] = 4; The manual has this example $str = 'string'; $chars = preg_split('//', $str, -1, PREG_SPLIT

Re: [wdvltalk] PHP >>> ?

2006-12-21 Thread Sheila Fenelon
Tris wrote: Another PHP developer near me, has jsut asked what the PHP function is where you can out put text 'like' this: = ABC My text will interpret $randomVariable into whatever it is set to ABC <<< It's called HEREDOC http://www.php.net/manual/en/language.types.string.

Re: [wdvltalk] Change management/source control mindbenders

2006-09-28 Thread Sheila Fenelon
Hi Tim, I worked in setup similiar to this last year, only it was Zend/PHP. They had a development server with a main test site and public_html for individual developers. They used CVS (I'm not familiar with Synergy). What I did was telnet to the dev server checkout what I needed, point Zend

Re: [wdvltalk] Perl question - update

2006-07-27 Thread Sheila Fenelon
Portman wrote: Ah. Got it to work. I change the if ($total < 50) { my $sandh=8;} to if ($total < 50) { $sandh=8;} Go figure. I have this code now: my $sandh=5; if ($total < 50) { my $sandh=8; } my $shippingCharge=$shipcost{$selectedState}*$total+$sandh; and the program seems to simply sk

Re: [wdvltalk] unix help

2006-05-26 Thread Sheila Fenelon
steve miller wrote: I am trying to execute a shell script containing a simple tar command using a cron job, and I ain't no good at this! I created a file called exec_tar.sh and placed it at the web root of my website. The file contained: tar -cvf cah_web`date +"%m%d%y"`.tar -C /home/myweb/

Re: [wdvltalk] php errors on index and sign up

2006-03-10 Thread Sheila Fenelon
Jumping in late here ... Joseph Harris wrote: Notice: Use of undefined constant AFF_G_DATE - assumed 'AFF_G_DATE' in c:\easyphp1-8\www\post affiliate\user\lang\eng.php on line 3 Notices are non-critical problems with the code. You can either fix the coding at the lines mentioned or add t

Re: [wdvltalk] Computer problem update

2006-01-10 Thread Sheila Fenelon
Felix Miata wrote: Portman wrote: It turns out that the computer that they purchased is not compatible with the SBC DSL that they use. Is there some way to fix this? They have Genuine Windows XP Media Center on the computer - I checked the MS website but the page is down. That's all hogw

Re: [wdvltalk] C++ question

2006-01-10 Thread Sheila Fenelon
Portman wrote: When I compile the program I get: Warning: W8012 c:\Borland\BCC55\Practice\Practice5_8.cpp 15: Comparing signed and unsigned values in function main() Warning: W8012 c:\Borland\BCC55\Practice\Practice5_8.cpp 25: Comparing signed and unsigned values in function main() Lines 15

Re: [wdvltalk] location: wits end

2006-01-09 Thread Sheila Fenelon
Did you try it with exit right after header? Show us your latest attempt. Sheila steve miller wrote: Didn't work either. This must be one of those "staring me right in the face" problems that has to be something simple that I just don't see :( No error messages; no nothing. On Jan 9, 2006

Re: [wdvltalk] Backup mySQL database (was: Problem disabling the submit button)

2006-01-02 Thread Sheila Fenelon
Bj wrote: You could try something like myAccess ($35, see http://www.hiden.org/myaccess/ ) which is an addin for Access that allows you to open and work, live, with online mySQL DBs from your local PC. There are other programs/addins that work in a similar way. Some are free. One thing t

Re: [wdvltalk] PHP question

2005-11-11 Thread Sheila Fenelon
Found this in the phpMyAdmin documentation. 1.26] I just installed phpMyAdmin in my document root of IIS but I get the error "No input file specified" when trying to run phpMyAdmin. This is a permission problem. Right-click on the phpmyadmin folder and choose properties. Under the tab Security

Re: [wdvltalk] PHP question

2005-11-11 Thread Sheila Fenelon
Does phpMyAdmin work? Or did you get the same mysql.sock error? If phpMyAdmin works then MySQL is running. If it's not running then ask your host to check the server. Sheila Portman wrote: Sheila, thanks for the reply. How do I get SQL running? I looked in the Control Panel and clicked eve

Re: [wdvltalk] PHP question

2005-11-11 Thread Sheila Fenelon
Portman wrote: This may sound like a stupid question, but how do I find the path to a database I set up? Huh? You don't normally need to know the path. You login to MySQL as a user and that user has rights to specific databases. I found out that my boss DOESN'T have asp support (thanks

Re: [wdvltalk] permissions help

2005-10-06 Thread Sheila Fenelon
steve miller wrote: Patrick, The php scripts run as "www" on the webserver, but the directories are owned by "steve" and I believe that group is "wheel". I don't really have access to be able to change all the file owners. The problem is that I need "www" to have "write" permission, which mean

Re: [wdvltalk] Pictures suddenly not showing up

2005-10-02 Thread Sheila Fenelon
Hmm. Well if you didn't change anything and the client didn't change anything, then it might be time to ask the host if they did something. Sheila Portman wrote: Yep. That is where I looked. Riva Sheila Fenelon wrote: By 'root directory' I meant the document root,

Re: [wdvltalk] Pictures suddenly not showing up

2005-10-02 Thread Sheila Fenelon
By 'root directory' I meant the document root, where index.html is. Sheila Portman wrote: All I find is a .bash_history and .Xauthority??? Riva • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http:

Re: [wdvltalk] Pictures suddenly not showing up

2005-10-02 Thread Sheila Fenelon
n.com/ Portman wrote: Hi Sheila, I don't know. Do you know how I would check that? Riva Sheila Fenelon wrote: Hi, I get a 'forbidden' error for individual files in the images directory. Has someone added an htaccess directive to the directory? Maybe they were trying to deny linkin

Re: [wdvltalk] Pictures suddenly not showing up

2005-10-02 Thread Sheila Fenelon
Hi, I get a 'forbidden' error for individual files in the images directory. Has someone added an htaccess directive to the directory? Maybe they were trying to deny linking to the images from elsewhere and accidentally denyed access to everyone? Sheila http://www.shefen.com/ Portman wrote

Re: [wdvltalk] PHP woes

2005-06-09 Thread Sheila Fenelon
William Stewart wrote: Somedays I really wonder why I'm in this business. Today is one of those days! Hopefully someone knows the answer to my problem: I'm trying to use PHP with MovableType, but my pages give me a 500 error whenever it is in this location: http://www.cityuponahill.com/articl

Re: [wdvltalk] PHP: determine if a directory is empty

2005-06-09 Thread Sheila Fenelon
How about this? $empty_dir = true; if ($handle = opendir('./ssgi/')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; $empty_dir = false; } } closedir($handle); } if ($empty_dir) { echo "There are no files

Re: [wdvltalk] Perl help request

2005-05-04 Thread Sheila Fenelon
Pradeep Dobhal wrote: The situaiton here is that i need to find the multiple byte characters. They are present in a file and i need to catch them up and mark them using the perl program. I need help with some code to search the multibyte characters. Thanks, --P Does this help? http://www.unix.org.u

Re: [wdvltalk] Regarding Dreamweaver

2005-04-09 Thread Sheila Fenelon
Amrit Hallan wrote: I'm planning to purchase Dreamweaver. If some body knows, kindly let me know: [1] Since I'll be using it mostly for php coding, can I purchase only that part [the hand coding part] without the web designing features? [2] Does it have built-in FTP like HTML-Kit (I'm currently

Re: [wdvltalk] PHP/MySQL - find a value in entire table...

2005-04-06 Thread Sheila Fenelon
Is it too late to redesign the table, and make it a table that lists both user_id and dept === | user_id | dept | --- | 23 | Accounts | | 17 | HR| | 17 | Support | | 19 | Accounts | | 4 | Marketing | ==

Re: [wdvltalk] making pretty reports

2005-03-02 Thread Sheila Fenelon
Once upon a time I got paid to automate the creation of Word docs from data dumped into csv files. I actually did it twice for two different employers. The first had data that needed to be formatted into tables suitable for publication. The second job needed DOCs files created from plain text r

Re: [wdvltalk] pulling my hair out

2005-02-26 Thread Sheila Fenelon
erver within another script. Any idea what could cause this to not work? steve On Feb 26, 2005, at 6:25 PM, Sheila Fenelon wrote: Could it be a permission problem with the image directories? Any clues in the server's error log? Sheila http://www.shefen.com/ steve miller wrote: This is a simpl

Re: [wdvltalk] pulling my hair out

2005-02-26 Thread Sheila Fenelon
Could it be a permission problem with the image directories? Any clues in the server's error log? Sheila http://www.shefen.com/ steve miller wrote: This is a simple php text file that I have uploaded many times using Adobe GoLive's ftp program, which I am still using. I will try uploading it with

Re: [wdvltalk] How is this done?

2005-02-25 Thread Sheila Fenelon
Amrit, I never heard of psftp. Google gave me a link to a putty help page. So I guess it's part of putty, and a DOS program? From Unix the equivalent would be sftp. Do 'man sftp' to get help on how to use it. [Unix tip: 'man' stands for 'manual'. Once 'man' has loaded, 'f' moves you forward thr

Re: [wdvltalk] How is this done?

2005-02-24 Thread Sheila Fenelon
tell me now how I can download files from there? Amrit - Original Message - From: "Sheila Fenelon" <[EMAIL PROTECTED]> To: Sent: Monday, February 21, 2005 10:01 PM Subject: Re: [wdvltalk] How is this done? Amrit Hallan wrote: "A better solution might be for Amrit to f

Re: [wdvltalk] How is this done?

2005-02-21 Thread Sheila Fenelon
accepted, you'll be prompted for the password. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Sen

Re: [wdvltalk] Using SSH

2005-02-10 Thread Sheila Fenelon
Amrit Hallan wrote: I hope you know what to do once you have your SSH Telnet connection... all you get is a command line prompt. OK if you are an old Unix hand and remember all those commands like pwd, mv, rm, chmod and such... :-))) Frankly speaking, I have no idea. This is going to be a learni

Re: [wdvltalk] php/mysql get next two records

2005-02-07 Thread Sheila Fenelon
Mark, I haven't thought this all the way through but would it be easier to do this SELECT id,title,dj,show_day,show_start,show_end FROM schedule WHERE time_format(show_start,'%H') >= '$myHour' AND show_day = curdate() LIMIT 2 This will return up to two rows where the show_day is today a

Re: [wdvltalk] blog description edit problem

2005-02-02 Thread Sheila Fenelon
Steven Streight wrote: But can anyone give me a more geeky tech explanation of why an edit of template code, then Save Edits, then Republish Entire Blog, could result in the blog Description text reverting back to previous version, like some cache problem within the template? I'm getting in over my

Re: [wdvltalk] Form problem

2005-01-16 Thread Sheila Fenelon
Portman wrote: Thank you for the reply Sheila. Here is the php code. I don't know php but this doesn't seem to work either. The hosting company gave me the scripts as they are. This does the same thing as the Perl code. The form input is written to a file in a directory called 'data'. There

Re: [wdvltalk] Form problem

2005-01-16 Thread Sheila Fenelon
Portman wrote: I am really having a rough time with this form. I reworked my code and double and triple checked the commands and it is still not working. I wrote to the hosting company and they have no idea why it is not working either. I was receiving the e-mails just fine at my regular addr

Re: [wdvltalk] Is the way right?

2005-01-09 Thread Sheila Fenelon
Stephen Caudill wrote: Zhao, I take it you didn't test this on yourself first (which is tantamount to writing a web site in NotePad and launching it without ever viewing it in a browser). Ah, but he says he did test it, or is testing it. On Fri, 7 Jan 2005 20:51:49 -0600, Zhao <[EMAIL PROTECTED]>

Re: [wdvltalk] linux large file editor

2004-10-30 Thread Sheila Fenelon
lines from the log to another file. You'll then have a smaller file to view. HTH, Sheila -- Sheila Fenelon http://www.shefen.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

[wdvltalk] Re: two results / one file - php

2004-10-27 Thread Sheila Fenelon
eader'. Where myheader called? Sheila -- Sheila Fenelon http://www.shefen.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 P

[wdvltalk] Re: Calling all PHP gurus

2004-10-17 Thread Sheila Fenelon
tents, keeping the 'if' logic in the main part of the script and out of the template. Sheila -- Sheila Fenelon http://www.shefen.com • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROT

[wdvltalk] Re: Need Apache / PHP help

2004-09-28 Thread Sheila Fenelon
Perry Gerenday wrote: You hit the nail on the head. I was typing in the path to the file, ie: file///c:/Apache2/htdocs/hello_web.php - which, as you guessed, was bypassing the server. http://localhost/hello_web.php works like a charm. Thank you very much. Your welcome. Glad I could help. Joseph,

[wdvltalk] Re: Need Apache / PHP help

2004-09-28 Thread Sheila Fenelon
I'm not a Windows expert but have quick question: Are you accessing the file directly or using http://localhost/hello_web.php Sheila • 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

[wdvltalk] Re: won't select id

2004-08-20 Thread Sheila Fenelon
Joseph Harris wrote: I always hesitate to make mails too long with code, If you have someplace online to post the .php file as .txt then your can just reference the file in you email. OK, you've got extra calls to mysql_query() and you are using the return value from mysql_query() incorrectly.

[wdvltalk] Re: own option in OPTION

2004-08-13 Thread Sheila Fenelon
a shout :^) Yes, please. Any hints you can give would be appreciated. I thought I had it working and was disappointed today to see that it was not. Sheila > On Fri, 13 Aug 2004 18:58:17 -0500, Sheila Fenelon > <[EMAIL PROTECTED]> wrote: > > >>I've got some Javascript

[wdvltalk] Re: own option in OPTION

2004-08-13 Thread Sheila Fenelon
Stephen Caudill wrote: select don't take input. period. I'd love to see an example of what you're talking about. I've got some Javascript that sort of does what he's talking about. It's an input form for company addresses. Go here http://demo.fenelon.us/jdi/database/add_edit_company.php and pre

[wdvltalk] Re: php and css tables

2004-07-29 Thread Sheila Fenelon
Trusz, Andrew wrote: What does turn out to work is just to drop the quotes in the embedded style sheet. So both of these work: bgcolor="$main_table_border_color"> and: table{border:1px solid $main_table_border_color; text-align:center;width:600px; margin-left:auto; margin-right:

[wdvltalk] Re: File deletion

2004-07-23 Thread Sheila Fenelon
$homedir needs to be the full system path, not a URL. Something like this should work: $homedir = $_SERVER['DOCUMENT_ROOT'] . '/clnt_images/'; Sheila Peet - Nu Breeze Tech wrote: Hi guys, I have to write a PHP maintenance program for trimming a website database (MySql). The page will have an input

[wdvltalk] Re: fif file frustration

2004-07-09 Thread Sheila Fenelon
No, you don't understand. Use file manager to rename the file on disk, then try to open it. Sheila Joseph Harris wrote: rudy, The problem is you have to have the file open to do 'save as'; renaming to change just the extension doesn't work. Thanks for the idea though. Joseph I've been round

[wdvltalk] Re: Linxu hosting, setup of gforge.org

2004-06-22 Thread Sheila Fenelon
s $45/month. I don't think you can get much cheaper than that and still have the ability to install anything and configure the server completely for you needs. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send A

[wdvltalk] Re: PHP Image control

2004-05-28 Thread Sheila Fenelon
Peet, There are a couple of ways to do this. You can set a config value upload_max_filesize or set a value in the form: You can read more about it here: http://www.php.net/manual/en/features.file-upload.php Sheila Peet - Nu Breeze Tech wrote: I have to change it so that users are only allowed

[wdvltalk] Re: Apache Guru

2004-05-25 Thread Sheila Fenelon
R'twick Niceorgaw wrote: I'll still prefer mod_userdir as in just three lines I can set it up for all users like Userdir dirname Userdir enabled Userdir disabled root The last line is not needed and now any request for http://server/~user will serve contents from /home/user/dirname I use this m

[wdvltalk] Re: (OT) mail problem (recurring)

2004-05-10 Thread Sheila Fenelon
I think this host needs to learn how to read his system logs. Email messages get tagged with an ID. That ID appears in the log and in the message header. If he has a complaint from someone about a specific piece of spam he can use the ID to find the log entry and find out who send it. Without

[wdvltalk] Re: PHP - multiple read request

2004-05-10 Thread Sheila Fenelon
rudy wrote: Is there not a way that a person could do one or two read instructions and obtain all the records in the different categories in one go? certainly select category , count(*) as test from offers group by category Rewriting your original PHP with rudy's SQL: incl

[wdvltalk] Re: robot exclusion

2004-04-28 Thread Sheila Fenelon
steve miller wrote: The problem we have is that we have several directories containing files that need to be accessible via the general web, but are sensitive enough that we don't want them spidered. In my understanding, htaccess will deny or allow whoever we list, but I can't think of how to

[wdvltalk] Re: mailto with attachment?

2004-04-26 Thread Sheila Fenelon
steve miller wrote: Hi Sheila. So far, I have been able to mime-encode the file, but it shows up in the body and not as an attached file (so you are right-on about your header comment). Size does not seem to be limited to 255 chars when attached as mailto:?body=$file. Since I am a real novice i

[wdvltalk] Re: mailto with attachment?

2004-04-26 Thread Sheila Fenelon
Bj wrote: - Original Message - From: "steve miller" I have an application (php/mysql) where we are creating a pdf file from database content, then we would like to launch the client's email program to send it (so he can use his address book which already has all his lists set up). The on

[wdvltalk] Re: PHP book update

2004-04-12 Thread Sheila Fenelon
Cheryl D. Wise wrote: I find this discussion interesting. I do not consider myself a programmer because I do not like to write programs. I can and do write code though given a choice I'd rather use something already written or give that part of a project to someone who likes to write code. I took o

[wdvltalk] Re: PHP book update

2004-04-11 Thread Sheila Fenelon
Joseph, About my contribution to your 'dream book' I have my course at EclecticAcademy.com As long as I'm teach there I can't publish it elsewhere. I have thought about adding a "PHP Tips" page to my site. I may do that. Sheila Smile-Poet wrote: I realise that I am not going to convince tho

[wdvltalk] Re: PHP book update

2004-04-11 Thread Sheila Fenelon
Don Kinney wrote: Sheila-- If anyone knows of good PHP book, for beginners, please speak up. I get asked this question all the time. The O'Reilly book might be OK but it's [snip] The blokes at Sitepoint.com have a two-book set titled THE PHP ANTHOLOGY. Volume 1 is Foundations. Volume 2 is Applica

[wdvltalk] Re: PHP book update

2004-04-11 Thread Sheila Fenelon
rudy wrote: where are sheila and cheryl this weekend, i wanna know i wanted them to review the sql course i am developing... I'm here. It's Day Three of a four day weekend for my kids from school. I want to review your sql course but have been waiting for a quiet moment. Difficult with thre

[wdvltalk] Re: strange MySQL return

2004-04-04 Thread Sheila Fenelon
Smile-Poet wrote: I tried ...!= 1 -- which yielded nothing (though they are all 0) ...!= 0-- which yielded all six( ditto ditto). So it is just consistently wrong in the database or db manager (phpMyAdmin).I amit I had thought '1' would grant privileges and '0' deny them; you

[wdvltalk] Re: PHP: Returning an array

2004-03-30 Thread Sheila Fenelon
Amrit Hallan wrote: Such things make one feel sometimes dumb and humble. Besides, they needlessly waste so much time :-(. I did't see it either until I copy and pasted the code into my code editor and tried to run it. The editor found the problems, not me. A good editor will save you lots of ti

[wdvltalk] Re: PHP: Returning an array

2004-03-30 Thread Sheila Fenelon
You have some typos in your code 'lables' instead of 'labels'. This worked for me: "Baby Name", "gender"=>"Gender", "ethnicity"=>"Ethnicity", "meaning"=>"Meaning"); return $labels; } $labels1=common_form_labels(); echo "labels1"; print_r($labels1); ?> Sheila Amrit Hallan wrote: I'm tr

[wdvltalk] RE: Perl & mysql help urgently needed!

2004-03-29 Thread Sheila Fenelon
e=$in{'level'} where emplid=$in{'emplid'}. I'm not changing anything outside of the function I've been working in. emplid is now a string and was a number? So you need quotes around $in{'emplid'} in the query? I'm guessing here since I'm a bit co

[wdvltalk] RE: Perl & mysql help urgently needed!

2004-03-29 Thread Sheila Fenelon
Diane Schips wrote: The clean function is: ($t) = @_; $t =~ s/\t//g; $t =~ s/\n//g; $t =~ s/\r//g; $t =~ s/\"//g; $t=lc($t); <--- that's it, lc = lowercase, comment it out $t=~s/^\s+//g; $t=~s/\s+$//g; $t=~s/"//g;

[wdvltalk] RE: Perl & mysql help urgently needed!

2004-03-29 Thread Sheila Fenelon
do? It might be changing the case. Sheila -- Sheila Fenelon http://www.shefen.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]

[wdvltalk] Re: OT: Windows Files (was - Google down? (host file in windows?))

2004-03-29 Thread Sheila Fenelon
I data and spools print jobs. I haven't installed any new applications on it in months. My kids' machine, however, needs a reformat. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send An Email To: mailto:[EMAIL PR

[wdvltalk] Re: any OSX-perts in here?

2004-03-26 Thread Sheila Fenelon
Steve Miller wrote: Sheila, I restarted the whole computer; is that the same? Yep, same thing. Here's another idea. Edit one of the .html files and put an opening PHP tag Might not work, but worth a try. Sheila • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send An Em

[wdvltalk] Re: an input puzzle - html/php

2004-03-23 Thread Sheila Fenelon
Bj wrote: "Request variables: $_REQUEST Note: Introduced in 4.1.0. There is no equivalent array in earlier versions." Oh well if they're going to keep changing the thing as fast as I learn it... :-/ That's one of the annoying thing about learning PHP, it's a moving target. Tutorials and books can

[wdvltalk] Re: an input puzzle - html/php

2004-03-23 Thread Sheila Fenelon
value' needs to be the actual value needed to make the form display empty. I hope all this makes sense. It would be easier to explain with more of the script to look at. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Sen

[wdvltalk] Re: an input puzzle - html/php

2004-03-22 Thread Sheila Fenelon
but with the user's input for last_name and the other fields echoed. This is much better than the usual instructions to 'go back and complete the form'. Does that make sense? Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List from WDVL.COM • To J

[wdvltalk] Re: $_POST and access questions

2004-03-09 Thread Sheila Fenelon
rudy wrote: I teach an "Intro to PHP" class at EclecticAcademy.com - low cost but not free. They keep asking for a PHP/MySQL class. cool let me know if you need an SQL instructor I'll pass your name and email on to the people that run it. A separate SQL class would be great. Sheila • T

[wdvltalk] Re: $_POST and access questions

2004-03-09 Thread Sheila Fenelon
rudy wrote: you're writing lessons to teach php/mysql? where? will they be on the web? I teach an "Intro to PHP" class at EclecticAcademy.com - low cost but not free. They keep asking for a PHP/MySQL class. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discu

[wdvltalk] Re: $_POST and access questions

2004-03-09 Thread Sheila Fenelon
Trusz, Andrew wrote: What's missing in most courses is the foundation. It's usually a quick jump from "hello world" to forms, email, and a shopping cart without the discussion of the ' " { ) ] ; not to mention regular expressions. A good foundation might have saved poor Joe a headache or two. Altho

[wdvltalk] Re: $_POST and access questions

2004-03-09 Thread Sheila Fenelon
n six one-hour lessons. The best I could hope to do is provide a good foundation. Sheila -- Sheila Fenelon http://www.shefen.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

[wdvltalk] Re: $_POST and access questions

2004-03-09 Thread Sheila Fenelon
lecticAcademy.com Teaching someone else to code is not easy. I mainly try to provide examples of what I consider good programming practices and hope the designers that take my class become comfortable enough with PHP to make minor changes to scripts. I hope to add a PHP/MySQL class but it

[wdvltalk] Re: $_POST and access questions

2004-03-08 Thread Sheila Fenelon
Break this up into several steps so you can find the problem, $sql = "SELECT_COUNT(*) AS ucount FROM book_mydb.members '{$_POST['username']}' "; $result = mysql_query($sql); if ($result) { $_ucount = mysql_result($result); } else { echo mysql_errno() . ": &

[wdvltalk] Re: if.. else.. (php)

2004-02-24 Thread Sheila Fenelon
$ptitle){ $meta .= "$this->sitename - "; $meta .= "$this->slogan\n"; }else{ $meta .= "$this->sitename: "; $meta .= "$ptitle\n"; } or if(!$ptitle){ $meta .= "$this->sitename - ". "$this->slogan

[wdvltalk] Re: PHP question concerning folders

2004-02-19 Thread Sheila Fenelon
parts)-2]; echo "parent directory -> $parent_dir "; ?> There are other ways to do this but this will work. You might want to add some error checking and make sure $parts has at least two elements. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List

[wdvltalk] RE: tricky redirecting

2004-02-17 Thread Sheila Fenelon
page? I've seen the meta tag solution used. Don't worry about Google. Their bots won't be submitting the form so they will never see the Thank You page. Sheila -- Sheila Fenelon http://www.shefen.com/ • The WDVL Discussion List from WDVL.COM • To Join wdvltalk, Send

  1   2   >