Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 06-07-2007, 08:46 PM   #1 (permalink)
Senior Member
 
theChronic's Avatar
 
Join Date: 12-19-05
Location: Berkeley, California
Posts: 366
iTrader: 0 / 0%
Latest Blog:
None

theChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nice
Verio Sendmail - Compare two files

hey folks
I hired a coder off of GetACoder.com to convert a small shopping cart system from CGI to PHP. They did it and all seems well, but when uploaded to my server the code does not send me an email with a quote (which is the whole point of the system).

The system uses the mail() function to use the servers sendmail. When they upload the same script to their host, the script works and sends the email.

Then on my server, tech support uploaded a sample script that tests the sendmail function (you just input an email address and it sends a sample email) and it worked fine. Both scripts use the mail() function but for some reason my shopping cart one does not send the email.

For security reasons, I didn't want to give the coders the FTP and Cpanel info which they said was required to fix it. Logically, it seems to me the script could be fixed by comparing the working test and their version..

Could anyone make any suggestions to the issue here? Or could I send anyone the two scripts to take a look at?

Thanks a lot,
John
theChronic is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-08-2007, 03:53 AM   #2 (permalink)
Meeow!
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,235
iTrader: 0 / 0%
Latest Blog:
None

Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Friendly thought

Hello, John!

As a programmer, you need all the info you can get from your client to make its program work well. I know this because my brother is a .NET developer and he works for an ERP solution.

Quote:
For security reasons, I didn't want to give the coders the FTP and Cpanel info which they said was required to fix it.
My opinion here is to give them what they need so you can have your job done.
You can delete the given account name and password later and create a new one so they cannot login after they complete their work.

Quote:
Logically, it seems to me the script could be fixed by comparing the working test and their version..
Is not always as easy as it sounds..trust me
__________________
...to be continued
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-08-2007, 04:41 AM   #3 (permalink)
Senior Member
 
theChronic's Avatar
 
Join Date: 12-19-05
Location: Berkeley, California
Posts: 366
iTrader: 0 / 0%
Latest Blog:
None

theChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nice
Thanks for your input. The reason I am concerned with giving them the information is only because on the same login you can see all of the company's email accounts with their logins and passwords and I'm not sure if this could cause a security issue and there is no way to truly tell if they are trustworthy.

What do ya think?
theChronic is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 12:29 AM   #4 (permalink)
Member
 
Join Date: 05-06-07
Posts: 84
iTrader: 0 / 0%
Latest Blog:
None

alainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the rough
Send a message via MSN to alainkun
Without see the code I cant told you exactly the solution, but it seems than when de mail() function take all variables to send email, it seem some variables are null.
alainkun is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2007, 12:04 PM   #5 (permalink)
Senior Member
 
theChronic's Avatar
 
Join Date: 12-19-05
Location: Berkeley, California
Posts: 366
iTrader: 0 / 0%
Latest Blog:
None

theChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nicetheChronic is just really nice
Would you mind briefly looking at it?

Or, I was wondering if I could suggest that the coders send the email using smtp instead of sendmail, is that a possible solution?
theChronic is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-08-2007, 07:04 AM   #6 (permalink)
Meeow!
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,235
iTrader: 0 / 0%
Latest Blog:
None

Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Lightbulb This might be an option...

hhhmmm...nice situation you got here...

There's no way you should provide your current login name & pwd because:
Quote:
...on the same login you can see all of the company's email accounts with their logins and passwords...
...and that will jeepardize your business security. So, this option is excluded.

I'm thinking though if you can create another account just for them and give them just the rights they need (Like in Windows OS - see Guest account and its permissions).
This way they can't have access to your business accounts.
See if you can do this from your Cpanel.

If you can't, talk to your hosting company, present them your situation and maybe they can help you with this one (after all, they own the server and everything within it so they can do it)

Good luck!

ps:
thank you
__________________
...to be continued
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Verio AlexCuster Web Hosting Forum 5 09-02-2007 10:38 AM
Sendmail Problem :( sellingonline Dedicated Servers 11 01-12-2007 03:09 AM
PHP Sendmail Tutorial optic5 Marketing Forum 8 01-03-2006 09:20 PM
PHP.ini and sendmail Trollmaster Coding Forum 0 07-09-2004 02:16 PM
Help with PHP Sendmail code: Zebra1 Coding Forum 0 06-17-2004 10:47 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:50 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.