Posts Tagged ‘php file’
How to compress a large photo with php file?
Hello,
I have a website that all what is doing is uploading images i just wonder if there is any way to upload 5mb file and compress it to like 200k without effect the quality of the picture and also to keep the same original size of the picture i know there is some php code that doing it but i am not sure how there is anyone can give me advice?
Thanks
tal
What JavaScript code do I use with PHP to show a file that was just uploaded onto the page?
I made a pretty basic PHP code to upload an image file (gif, jpeg, or pjpeg), and I can’t seem to find a JS code to show the newly uploaded picture on the page. I’m looking for a code that shows the uploaded picture itself, not just a certain picture each time you upload something.
So if someone could show me, that would be great, thanks.
How to return a php variable, to a html file which can be use in html file as javascript variable?
echo "<meta http-equiv=Refresh content=0;url=login.html>";
Here i load a login.html file. Along this i want to pass a php variable contents to login.html file, so that i can use it in javascript within login.html file.
How to change one same line of php code that resides in 100 different folders?
I want to change a line inside one php file (ex: ABCDEFG to 123456). How to do so if I want to change the same line but reside in, say, 100 different folders without goes to each and single file/folder? Thanks. TA.
How do you open a php file that was saved in notepad?
I found a simple php script that I wanted to run and I saved the php script in notepad and saved it as xxxx.php and all files……but …..what program do I need to use to open that file and run the script?
Thanks
How to manipulate a php file for an email form?
I created a php file that corresponds with an email form. I have already created everything and it works. My question is how to have two receivers of the email and have one of them be hidden. When the one person receives the email it shows that it was sent to two people. How do I get it where it only shows that it was sent to one person but in reality it was sent to two people.
How do I make PHP show another PHP file inside it?
Lets say that I want to make a large website that is always changing. I don’t want to change the nav bar every time that I modify the page, so I make the nav bar its own file instead and then PHP would show that file in a certain place on all of my pages. How would I do this?
How to install a PHP extension if I do not have access to the extension directory on the server?
I need to install an extension for my php site, but since I am using a web hosting service (hostmonster), I do not have access to the directory that contains all the PHP extensions. I DO, however, have access to my php.ini file. How can I install this extension (dbg.so)?
How do you link to a PHP file and make it actually do the function?
Im making a phone book for my site, and my host does not allow me to use PHP unless I link to it. How do you link to them and get them to actually do the function?
How easy is it for someone to download a php file from a website?
My php page has all the important database information, so I don’t want people looking at it. How easy is it for someone to view this information? Also I’v set the PHP file, so that you can’t access it directly using the URL, you can only see it when it is linked to by a form using the POST method.