Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
/Peo, FreeWebSpace.net
There are some sites that allow you to send free sms . you can use these sites from your site . but the service is related on the receivers location . Where do you want to send your messages ?
One way is to use SSH with private key.
But this way is not proper for shared servers, because the server must accept ssh and also let you put files in "your home directory/.ssh" .
Another problem with exec() is that, your server may be a MS Windows server and then your commands (like su or...
First, I made a mistake : you need to change the owner not the mod, so copy chown insteed of chmod .
And, yes. this needs root access . If you want to work in shared servers you can use ftp (as you said) .
Get a copy from /bin/chmod then make it run as root :
[root@localhost]# cp /bin/chmod /directory/chmod-private
[root@localhost]# chmod 4755 /directory/chmod-private
Now you can changing mod with any user using this file !
Note that this can be very dangerous . Any user who knows about this...
If it is a PHP script, then edit the file and search for mail() function .
Then add a forth parameter to it : mail(..., ..., ..., "MIME-Version: 1.0\r\nContent-type: text/html\r\nFrom: Your name <you@email.com>\r\n") ;
You can host your files at your domain and also use those services for your free email offer .
You just need to change your domain's MX to the co-branded mail server's address (they will tell you about the address), and then your emails will be stored on those servers .
Also the email traffic...
I am back to this forum :)
And this is my new site : www.phpclub.site.ir
You can test the PHP functions in the free online PHP compiler section .
Any idea ?