Exec And System Commands Blocked By Host
I've got this code, its the simpliest example I could make. It works perfectly on my windows xp/apache/php box, but doesn't do anything on a commercial website host. The actual code should use gzip to compress a folder but that doesn't work either.
Anyone know the reason why they would be blocking these commands? I suspect the problems with commonly used php apps like phpBB to be the real reason.
<?
exec("ping 127.0.0.1 > test.txt") or die();
// get contents of a file into a string
$filename = "test.txt";
$fd = fopen ($filename, "r");
$contents = fread ($fd, filesize ($filename));
fclose ($fd);
echo $contents;
?>
View Complete Forum Thread with Replies
Related Forum Messages:
- Bug In System And Exec Commands
- Calling Commands Using EXEC
- FFMPEG Exec() Commands
- Sh And Psql Commands From Exec()
- Exec() Launched From Linux For Win Commands
- Executing Multiple Shell Commands Via One Exec()-call
- Run System() Commands
- System Commands!
- System Commands
- System Commands Via Web
- How To Execute Two Commands Within 'system'
- Run System Commands In A Script
- Why Is System() So Slow For Remote Commands?
- Executing System Commands In 'parallel'
- System Commands / Save Results
- How To Disable Ouptut With System Commands ?
- Best Way To Test For Host Operating System?
- PHP System() And Exec()
- System() And Exec()
- Exec(), System()
- System() Or Exec() And Permissions
- Exec() And System() Problems
- Using Passthru(), Exec(), System() Etc.
- System/shell/exec/etc
- Exec(), System() And Win 2003
- Use Exec() In PHP 5.2 On A Windows XP Pro System
- Setting Up A Practice System Including Apache & MySQL, With Host?
- Problem Using System/exec Function.
- Using System/exec, How To Backup Database?
- Exec(), System(), Shell_exec(), Etc + Nmap
- System/exec Not Working In Browser
- Command Window - Exec/system
- Exec, Shell_exec, System, And Passthru Not Working At All
- Alternates To System() And Exec() In Order To Use ImageMagik?
- Exec - Create An Executable That Return The System Drives
- Running An .exe File Using Exec() Or System(), Unable To Fork Error
- Some Commands Execute Via PHP "system", Some Don't--why?
- System(), Exec(), Shell_exec(), But "Permission Denied"
- Warning: Ftp_exec() [function.ftp-exec]: SITE EXEC Is An Unknown Extension
- Getting Blocked
- Web Scraping Blocked
- Can PHP Cookies Be Blocked?
- Blocked Cookies
- Mail() Gets Blocked By Hotmail
- Mail() Php Blocked As Spam
- Can Fopen Or Fread Be Blocked?
- Remote File Blocked With Fopen?
- Mail() Blocked By Spam Filter
- Using Mail() - Get Lots Of Blocked Emails
- MSIE 5 Blocked From Https Pages?
- Cookie Blocked By Privacy Settings
- Our Email Getting Blocked On Other Mail Systems.
Bug In System And Exec Commands
If PHP is running via a web server, and mutiple system calls are made within the script to another script, hundreds of processes are created. Here is an example: Script 1: <?php for ($i=1; $i<=5; $i++) { system("php script2.php"); } ?> Script 2: <?php exit; ?> The effect is the same (and more difficult to stop) when the system calls are made in the background. e.g. system("php script2.php >>/dev/null 2>>/dev/null &"); system("php script2.php >/dev/null 2>&1"); I have even tried calling a shell script, which in turn calls the second PHP script (both in the background), but it still causes lots of processes. The "exec" command is also affected. At first, I thought this was a problem with either Zeus web server of Fast CGI, but I have since tried it with Apache and normal CGI with the same effect. Does anyone have any idea why this happens and whether there is any way to prevent it? I have posted a bug report to bugs.php.net (ID 14997), but so far to no avail.
View Replies !
Calling Commands Using EXEC
I'm trying to call the command taskkill in a script of mine. the code looks like this exec("taskkill /f /s $compname /im iexplore.exe", $output); As far as i can tell the code is doing nothing, it doesn't throw up any errors but it doesnt work either. I have tried replacing the variable $compname with the actual computer name but this dosen't work either.
View Replies !
FFMPEG Exec() Commands
I'm relatively new to PHP and am creating a website which will take uploaded files and convert them to FLV files for quick viewing using an FLV player. It is similar to YouTube. After a successful upload I hope to first convert the video file to FLV, and then create a thumbnail from the FLV file. In my upload script, the two commands follow eachother: exec("Video to FLV Conversion"); exec("Thumbnail creation"); The video converts always, and on very small videos (below 500k) the thumbnail creation works as well... but for larger files, the thumbnail creation does not execute. But if I run only the "exec('Thumbnail creation');" after the FLV has already been converted, it creates the thumbnail. My thoughts are that the Thumbnail exec() starts before the FLV Conversion exec() is completed. Is there a way to ensure the first exec() finishes before continuing through the script? I could also try merely taking the thumbnail from the initial video file (non-FLV) and it may work fine... but I thought I'd ask here first as I've read some complications creating thumbnails from several types of video files.
View Replies !
Sh And Psql Commands From Exec()
I'm having problems with exec(). I'm trying to execute a shell script that executes psql command to dump results to a CSV file. exec('/bin/sh /path/csv.sh'); csv.sh executes /usr/local/pgsql/bin/psql -d dbname -u user -f /path/output.postgresql (output.postgresql is the file that has some queries to output the results of a select statement to an output CSV file.) while this works on my local machine (Intel Mac OS X 10.4, Apache 2.2, PHP 4.4.3) it fails to run on FreeBSD (Apache 1.3, PHP 4.4.2). it seems like the user "nobody" running the Apache Web Server is failing to run the commands using the exec() function. I'm guessing that the reason why it's failing is that the psql is asking for a password, but I cannot place the .pgpass file since nobody has no home directory. Also I haven't tried the NOPASSWD for nobody in sudoers file. I'm not sure if this is a good idea since apache can then run any sh and psql commands from exec().
View Replies !
Exec() Launched From Linux For Win Commands
this is my environment : Apache is installed on a Linux server (RedHat9A) and I launch the browser on a PC running WindowsXP to execute php scripts on the Linux server. I would run Win executables from this Linux-based Apache server. Actually if I use exec() command running Linux commands, something like : $command="mv /store1/www/file1.txt /store1/www/file2.txt"; exec($command, $ar_output, $res_command); echo "res_command=".$res_command; it returns : res_command=0 and all works fine. The problem arises when I try to use the same exec command for running applications in the PC, e.g.: $command="C:ProgramsWINEDIT.EXE"; exec($command, $ar_output, $res_command); echo "res_command=".$res_command; Now it returns : res_command=127 and it does not work ( = it does not start WINEDIT.EXE)
View Replies !
Executing Multiple Shell Commands Via One Exec()-call
I wrote a PHP shell script under Linux which puts all existing [E]PS-Files within a directory into a list and should then start a single Ghostview window for each file. Sounds simple, but it's not: The following code provides for about half of the functionality I wanted: ==============code starts $bla = array(); foreach ($filelist as $file) { $bla[] = fopen("./trash/".$file.".tmp", "w"); exec ("gv ".$file." &", $bla); } ===============code ends Here, all files are opened one after another. The next file opens only after closing the current one. Actually I don't know whether the redirection of the output towards .tmp-files complies with the intended purpose of the redirection. The PHP manual states that when starting programs in background, the output would have to be redirected to a stream or file, otherwise PHP would continue to run until the respective program is terminated (which I really wouldn't care about at all, if it did so...). Then I thought about writing the line I would type manually for opening all ps-files ('gv bla1.ps & ; gv bla2.ps&; ...') into a string and then executing that string: ===============code starts $command=""; $bla = fopen("./trash/tmp", "w"); foreach ($filelist as $i => $file) { if ($i < count($filelist) - 1) { $command = $command."gv $file & ; "; } else { $command = $command."gv $file &"; } } exec ($command, $bla); ===============code ends sadly I get an error message from the shell: ================ error message starts sh: -c: line 1: syntax error near unexpected token `;' sh: -c: line 1: `gv uges_Boden.ps & ; gv ux_Boden.ps & ; gv uy_Boden.ps &' ================ error message ends
View Replies !
Run System() Commands
at the moment, i use a couple of cronjobs and wget to update some bits of the site, i would like to be able to specify a manual update by calling wget from an admin page. the system() call works correctly, but i get permission denied. because, i presume, apache doesn't own the directory i am wget-ting to. i can't chown the whole directory to apache.apache, because i need access to the directory for other users, (ftp). doesn anyone know a way around this?
View Replies !
System Commands!
I want to execute system commands through the functions provided by PHP (like exec, system etc) In the LINUX machine in my work, everything seems to be OK, when, for example, I write system `ls`; and I print it on the screen. In my home PC on the other hand, where I have winXP and the Cygwin platform installed, none of these works. 1) Is the Cygwin platform sufficient to run system commands or must I have LINUX machine? 2) Do I need to change anything in my php.ini file in order to 'activate' the system commands?
View Replies !
System Commands
i'm running the following php script, and where i would expect it to create a file, test.txt, it doesn't. it isn't in the directory i am exectuting the script in, nor can i do cat on it not that i would expect to, since it doesn't exist: <?php print system("ls > test.txt"); print system("cat ls.txt"); ?>
View Replies !
System Commands Via Web
I am attempting to build a web form that will be used to launch the below command. However, the backslashes for the command line options are giving me a headache. The web form will have inputs for each option such as Adminuser, Adminpass, Adminhost, Adminport, CMD etc. COMMAND LINE COMMAND: ftpconfig.exe /ADMINUSER=Administrator /ADMINPASS=password /ADMINHOST=localhost /ADMINPORT=31000 /CMD= adduser /server="Server1" /user=user1 /password=user1password EXISTING PHP CODE <? PHP if (($_POST[username] == "") || ($_POST[userpasswd]== "")) { header("Location: createuser.html"); exit; else { $result = $_POST[username]; ......
View Replies !
How To Execute Two Commands Within 'system'
On PHP4, I want to execute these two system commands: # cd /home/foo1/foo2 # /usr/local/php/bin/php /home/foo1/foo2/script.php If I do it via shell, it works ok. But If I do: ------- system("cd /home/foo1/foo2/", $retval); system("/usr/local/php/bin/php /home/foo1/foo2/script.php", $retval); -------- I get this error message: ----- Fatal error: main(): Failed opening required '../config/config.php' (include_path='.:/usr/local/php/lib/php') in /home/foo1/foo2/script.php on line 2 ----- This error is caused by the fact that the script is not executed in the right directory.
View Replies !
Run System Commands In A Script
Ive been trying to run system commands in a script that I want to create to be able to view SNMP info. The SNMP commands can only be run on a different server. If I run the following command on the command line it works perfectly. It returns the SNMP info, but when I try to run it in the script it doesnt work system("ssh $server snmpwalk -v1 -c $comString $routerIp CISCO-STACK-MIB:: portAdminSpeed.2.$port")
View Replies !
Why Is System() So Slow For Remote Commands?
system() passthrough() and shell_exec() all execute the given command, with their own slight differences in output, etc what i want to do is essentially shell_exec("ssh ip 'df -h -l' "); for that and other commands for some reason this takes exactly 20 seconds before it returns, so does 'system' and 'passthrough' ssh works fine, if i do it from the commandline it takes less than a second I also realize that I could just write a simple shell script and just execute the script which does take about a second. I was just wondering if anyone knows what could be the problem? and why 20 seconds?
View Replies !
Executing System Commands In 'parallel'
Basically I just want to be able to execute an external program 50 times (a perl program on a linux system) from within a PHP script and have the jobs all start 'right away'. I'm using exec in a loop now and what's happening is that the one to finish before the next one starts. This isn't good because the programs take a long time to finish and I'd like them to run in parallel.
View Replies !
System Commands / Save Results
I call a system program through PHP, using the system commands provided by PHP (like system, exec etc) Q1: Is there a way (I think using the return values) to make sure that the program has run? I mean, not take the data from the program if the program has encountered any kind of internal error and didn't ran correctly. Q2: How can I pass the data that I take from the program to a string, in order to handle them and present them to the user the way I want? The command I use is something like: $command = shell_exec ('program_name argum1 argum2'); argum1 and argum2 are arguments that I feed the program with. Will the '> tmp_file' store the data I take as result from the program into the tmp_file or must I use something else?
View Replies !
How To Disable Ouptut With System Commands ?
I have to execute this shell_exec command on my scripts $executeonly=shell_exec("ls /etc/vmail -L -l -t"); if "ls" finds not existent symlinks it reports a lot of errors like this no such file or directory no such file or directory no such file or directory no such file or directory Since I want hide this output , I'm trying ob_start(); $executeonly=shell_exec("ls /etc/vmail -L -l -t"); ob_end_clean(); but I continue to receive no such file or directory no such file or directory no such file or directory no such file or directory How to hide this shell_exec output?
View Replies !
PHP System() And Exec()
Background: I am trying to execute a binary on the server located in the current directory where the php script is being run. The server is a linux (debian based). I am having trouble getting php to execute the binary properly, below is my code. Code:
View Replies !
System() And Exec()
If you start a program using this function and want to leave it running in the background, you have to make sure that the output of that program is redirected to a file or some other output stream or else PHP will hang until the execution of the program ends. I have tried numerous time by redirecting to a file or other stream to free up a php web page that called a perl script for example, but the php script always hangs...has anyone had any luck freeing up a calling php script from a process, or program that it launched in the background? Code:
View Replies !
Exec(), System()
I write very, very simple script who call external program. The script is run on Linux Slackware, Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.8b PHP/4.4.4 here is my script: <?php echo exec('ls'); ?> this work properly. but if i write: <?php echo exec('xine'); //xine is a multimedia player ?>
View Replies !
Exec() And System() Problems
I am trying to use php's exec() or system() to execute a shell script that I wrote. exec and system() work fine with a simple command like ls, but nothing happens when I point it at the shell script. The shell script works fine from my shell login. Can't figure out what tho problem is. Is php just incapable of running shell scripts?
View Replies !
System/shell/exec/etc
I've got PHP 5.1.6, Apache 2.2.2, on Fedora 5. Everything is great except that when I use an of the external launching commands, persistent apps dont stay open. I have a simple shell script set up to load an app, and I have it write a PID file. Immediately after calling exec (milliseconds later) the PID is alive. However, within a few more milliseconds it seems to close. I've made sure that the apache uid/gid have full access to the script and the apps it calls. When sudo'ing manualy in a shell with the apache uid, the script works flawlessly and loads the program, and stays open, as it should. I've verified that the app loads under the uid 'apache' with ps. When running it through PHP, it seems to close almost immediately after succeeding. Is there some fundamental issue with how this works that I'm missing? I can't seem to get any real errors out of php, apache, or even the shell when redirected to a file. Should I try PHP4? Is PHP5 buggy with this kind of thing? I even tried running 'at' to schedule the script (so that it'd be invoked by at instead of the shell itself) but that failed, silently, as well.
View Replies !
Exec(), System() And Win 2003
I have searched high and low for the past 2 days for an answer to my problem. I have found a few references, but nothing has helped me. My problem is this: I am trying to ping a remote server from a PHP script in IE 6.0. When I load the page, the cmd.exe loads on the server and takes up all my CPU. I have to manually stop the process for it to go away. My setup is this: Windows 2003 Server PHP 5.0.1 I have tried - giving my system32cmd.exe full IUSR_%machinename% rights - moved the cmd.exe to the script folder, to the PHP folder And about a million other things that I can't remember =(. I have tried multiple functions, written in mulitple ways and the outcome is always the same. when the cmd.exe is opened it hangs on the 2003 server.
View Replies !
Use Exec() In PHP 5.2 On A Windows XP Pro System
I'm trying to use exec() in PHP 5.2 on a Windows XP Pro system. What I'm trying to do is use it to tell an already running program what to. For example: X:pathprogram.exe /something or X:pathprogram.exe /something_else If I do the command through the command line, it works, but so far I have been unsuccessful in PHP. Usually it PHP just hangs, and give no error message, and does nothing to the program.
View Replies !
Setting Up A Practice System Including Apache & MySQL, With Host?
on another thread I asked a question involving what if anything I might learn beyond HTML and CSS to enhance my ability to become a professional web page designer. Although I had some opinions which stated nothing more would be necessary. Others thought otherwise and there seemed to be an agreement that if I did want to go beyond HTML and CSS the next step would be PHP and mySQL. Looking at books advertised for PHP some claim to teach you how to set up a practice system which would include the Apache server and the mySQL database system. Elsewhere on the Web a found a page claiming you could use the Apache server to create a home based hosting system. As I will lose my personal webspace when I go to high-speed DSL soon I was thinking of doing that. Presently I use my personal webspace to create fictional web page sites for review by forums like this one. So I am wondering is doing home hosting the way to go. The people at AT&T DSL tell me it's prohibited over their DSL. But Qwest MSN do not seem to know what I am talking about. I do not know if I should take that as a go-ahead. Code:
View Replies !
Problem Using System/exec Function.
I am faced with strange problem. Basically I want to make a script which would take mysql back up for me. I have come up with following. [ basically code is borrowed from some other place ] PHP Code:
View Replies !
Using System/exec, How To Backup Database?
system("mysqldump --opt myDatabase > backup.sql"); here are my problems, i don't think it works on the webserver. next, where exactly the file, backup.sql be place if it does succeed. i believe we just can't execute commands on the webserver can we? i also tried using the sql query BACKUP TABLE ... TO .. but i'm guessing the problem lies with the TO... how do i know what directory shall i place it therE? for instance, my pages are placed in, home/myname/public_html/... i tried to put home/myname/public_html/backup in the TO but nothing happens.
View Replies !
Exec(), System(), Shell_exec(), Etc + Nmap
i'm trying to create a script that executes nmap from my server, then displays the output. i've tried: $output = passthru('nmap -v -A'.' $ip'); $output = shell_exec('nmap -v -A'.' $ip'); system('nmap -v -A'.' $ip'); the problem i'm having is that using the above methods i only get the first line of output, ie. Starting Nmap 4.20 ( http://insecure.org ) at 2007-08-31 21:46 CST and nothing else. i've managed to find a way around it by sending the nmap output to a textfile, the using file_get_contents() to pull the data back in: exec('nmap -v -A '.$ip.' > /usr/local/www/apache22/data/nmap/'.$ip.'.html'); $file = "/usr/local/www/apache22/data/nmap/$ip.html"; $result = file_get_contents($file); echo "(pre)$result(/pre)"; that works perfectly, but i'd rather not be writing anything to the drive. i guess the problem might be that nmap takes about 5-10 seconds to do its scan, and for some reason php doesn't want to wait that long, i really have no idea. can it be made to work without needing to write to files? and for the curious minds, i'm not doing anything dodgy, i just wanted an online tool i could access from any computer to test networks i support .
View Replies !
System/exec Not Working In Browser
In two files, and I serve foo.php then I notice If I use commandline execution i.e. php foo.php then foo.txt is touched/created all right. i.e. system command is executed as expectedBut If I use browser then I notice that the shell command in config.php is *not* executedAny ideas as to why this might be happening? Code:
View Replies !
Command Window - Exec/system
I'm in the process of developing a script in Windows where I need to use exec/system. Whenever I execute either, Windows spawns a command window which automatically sappears. Is there a clean way to force Windows to NOT display the command window? I've seen this discussed a few times previously, but, none of the solutions seem to be working (tried both exec and system; tried using cmd /c, tried using start /B, etc.)
View Replies !
Exec, Shell_exec, System, And Passthru Not Working At All
Can't get these commands to work! The following page simply doesn't finish loading ( Waiting... Opening... :-( ) <?php echo system("dir"); ?> The same for <?php echo exec("dir"); ?> or <?php echo shell_exec("dir"); ?>, etc... I'm running Apache 2.0.55 & PHP 5.0.5 with Zend Optimizer v2.5.10 on windows XP SP2.
View Replies !
Alternates To System() And Exec() In Order To Use ImageMagik?
My Web host apepars to not allow exec() and system(), as a line in my script: system("convert -scale 100x100 $uploadfile $toimage"); gives the error: "Warning: system() has been disabled for security reasons" Is there some other way to use ImageMagik (or is it GhostScript?)'s "convert" command in PHP that may be safer and generally allowed by Web hosts?
View Replies !
Running An .exe File Using Exec() Or System(), Unable To Fork Error
I have a problem with running an .exe file using exec() or system() I have downloaded a file called ffmpeg.exe for converting movie clips. I can use the program thourg the command line in windows (cmd), but I'm not able to have PHP run the file. First PHP gave be an "unable to fork" error. But then I gave users access to the cmd.exe file and solved that problem. So now is no problem running for example exec("dir");
View Replies !
Some Commands Execute Via PHP "system", Some Don't--why?
I've got a simple Perl script that works fine from the command line but not from PHP via the browser. It's a conversion program that converts an image to a different format, and writes the new image to a directory. I'm running as user "nobody" and have the target directory set to "nobody:nobody", and I've tried chmodding the directory to both 755 and 777 with no luck. If I run my script from the command line, it executes with no problems. In PHP, I'm using "system('/dir/to/file/convert.pl',$retval)", but the file doesn't get created. $retval returns a 0, so I'm assuming that's a good thing. In my Perl script, I added a generic "print "Hello, World"" to it, and $retval then returns "Hello World0", so I know the script is at least doing something.
View Replies !
Warning: Ftp_exec() [function.ftp-exec]: SITE EXEC Is An Unknown Extension
This is kind of a part II to a question a posted earlier about exec and shell_exec not working. I'm trying to use ftp_exec to execute some simple command: $conn_id = ftp_connect("$server") or die ("Cannot initiate connection to host"); ftp_login($conn_id, "$username", "$userpass") or die("Cannot login"); $command = 'cd..' if (ftp_exec($conn_id, $command)) { echo "$command executed successfully"; } else { echo "could not execute $command"; } ftp_close($conn_id); I'm getting the following error: Warning: ftp_exec() [function.ftp-exec]: SITE EXEC is an unknown extension in /home/urieilam/public_html/work/video/test1.1.php on line 21 could not execute cd.. Have tried other commands as well, get the same. Could this be a security issue or something to do with p Safe Mode? I don't know much about commands, shell, etc..
View Replies !
Getting Blocked
I am using mass mailing script through PHP mail function. But for some servers the mails are getting blocked. How do I find out the blocked addresses through the script and how to avoid the blocking in PHP.
View Replies !
Web Scraping Blocked
I have been using some PHP code to get some football scores from a website for a while, but it has stopped working. I can see the site myself, and the source code is as before. When my PHP code tries to read it though, the page is just one line. I assume this is intentional by the site. (I'm not sure why, as the results aren't theirs, and there are plenty of other sites with them.) Anyway, I am simply getting them from another place now, but I am wondering how they do this, and if it is avoidable.
View Replies !
Can PHP Cookies Be Blocked?
Does anyone know if a PHP Cookie, that I set from my website, can be blocked by an individual's browser? I know they can prevent JavaScript Cookies, but if they turn off cookies in their browser, is that just JavaScript or does that include all server side cookies as well?
View Replies !
Mail() Gets Blocked By Hotmail
I have a few systems that rely on the php mail function. One really big problem I'm having is I'm always blocked in Hotmail and marked as "junk mail". Does anyone know a solution to this? See below for my headers: # Common Headers $eol = " "; $headers .= 'From: <'.$fromaddress.'>'.$eol; $headers .= 'Reply-To: <'.$fromaddress.'>'.$eol; $headers .= 'Return-Path: <'.$fromaddress.'>'.$eol; // these two to set reply address $headers .= "Message-ID: <".$now." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol;
View Replies !
Mail() Php Blocked As Spam
I created a simple php mail() function with attach. The problem is that I´m receiving the mails as spam, I already tried everything, maybe somebody could give me a help, my headers: $remetente = "$nickuser"."@yachtbrasil.com.br"; $nome_resposta = "$nickuser"; $headers = "MIME-Version: 1.0".$eol; $headers .= "From: $nome_resposta <$remetente>".$eol; $headers .= "Reply-To: $nome_resposta <$remetente>".$eol; $headers .= "Return-Path: $nome_resposta <$remetente>".$eol; $headers .= "Content-type: multipart/mixed; boundary="$mime_boundary"".$eol; $headers .= "Message-ID: <".$now." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol;
View Replies !
Mail() Blocked By Spam Filter
I never had problem with this PHP page with mail() function with at least 5 different servers, but email sent through the server of this "T" company tends to get blocked by spam filters. I tested with my different email accounts and these are the results. * The mail is delivered to the "Inbox" of my AOL account. * The mail is delivered to the "Bulk Mail" folder of my hotmail and msn accounts. * The mail is delivered to the "Spam" folder of another account of mine. * The mail is not delivered to any of my two university accounts. One thing I noticed is that this "T" company hasn't setup the "From" section, unlike the other servers that I worked with before, so the mail is coming from "Nobody" <nobody@________>. I suggested the tech person of the company update the "php.ini" file, but he doesn't admit that's the issue. I tried manually adding the From with PHP coding with "$headers," but it didn't make any change.
View Replies !
Using Mail() - Get Lots Of Blocked Emails
I am using the mail() function but many times the emails do not make it to their recipient... I see this happen almost 100% of the time to hotmail.com and aol.com accounts. Is there a way to get these emails through? This is not for spam, it is for automatic notifications that the recipient requests. ... well I guess this does sound like spam, but anyways it is for sending tracking information from my ecom site when orders ship out. Does anyone know a better way to do this?
View Replies !
MSIE 5 Blocked From Https Pages?
I was testing one of my sites today with IE 5 (PC) and found I couldn't access some of the pages that were behind the site's SSL certificate. My IE 5 has 40-bit encryption - could the certificate be delivering 128-bit only? Could that be the problem?
View Replies !
Cookie Blocked By Privacy Settings
I just wrote myself a simple tracking script that stores the tracking info in a cookie and then calls it on the thank you page of my shopping cart. Problem is, I'm using a third party shopping cart that doesn't support php code on my thank you page. I tried using an iframe, but that didn't work, as the default browser settings block the cookie. How can I "include" the PHP file that calls the cookie without being blocked by privacy settings?
View Replies !
|