Αρχή :: Ενότητες :: Scripting :: Απαντήσεις     
 

Forum

Cgi Δεν δουλεύει. HELP! - Από {Dj Andy}

Γιατί να μην δουλεύει..;
http://www.aweb.gr/postcard/
Please help...
Τα αρχεία .cgi που χρησιμοποιώ μπορείτε να τα βρείτε στο http://www.aweb.gr/postcard.zip και http://www.aweb.gr/pictures.zip .

Στις οδηγίες για το sctipt έλεγε κάπου:

C.) This is location of your email program.

For UNIX users, it should look should like the following. The first one is the most
commonly recognized variable, while the one below it is the next common. I would suggest
trying the first variable and if it doesn't seem to send e-mails, then try the next one. If
there is still no e-mail, then ask your hosting provider for the location of the mail program and
if it is turned on.

$mailprog = '/usr/lib/sendmail';
$mailprog = '/usr/sbin/sendmail';

For NT users, it should look something like the following. I would suggest trying this variable and
no such luck, then I would ask your hosting provider for the location of the mail program and
if it is turned on.

$mailprog = 'windmail';

Μήπως φταίει αυτό? Αν ναι, τι πρέπει να γράψω?

 


Απάντηση από:FAQ admin


Οι αιτίες για τα errors αναφέρονται στην σελίδα του error
Όσο για το sendmail είναι C:/winnt/system32/blat.exe

Απάντηση από:Dj Andy

Να τη μου λέει στην error page:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Bad name after gif' at d:\inetpub\virtual_servers\aweb.gr\cgi-bin\postcard\card.cgi line 45.

Όλα όμως στο script είναι κανονικά και το έχω δει να δουλεύει... Pls help!

Απάντηση από:FAQ admin

Βρες τη γραμμή και διόρθωσε το λάθος.

Όλα όμως στο script είναι κανονικά και το έχω δει να δουλεύει
Σε UNIX???



tip: Διαβάτη? δρόμος δεν υπάρχει? το δρόμο το φτιάχνεις προχωρώντας! * F5 για νέο tip

   Πίσω στην προηγούμενη σελίδα






Η Εταιρία | Web Hosting | Domain names | Web Information | Υπηρεσίες | Resellers | Υποστήριξη |
Copyright © 2007–09 4GR.NETWORKS, All rights reserved.