using include ('mypage.php') want to know how i can include this page on another page but not display mypage.php in the web browser, but want all the code from mypage.php to be visible in the source code for the web crawlers.
I'm using Apache, and I created a .php page and viewed it in Firefox, and discovered that all of the <? ?content was visible using View Source. How do I hide that PHP code from users? That code necessarily has PHP commands for acessing a database and so on.
Well, when i type in the browser "eshop.local/manager" it's working.My problem is that when i clink somewhere else, the browser reveales the true path.That's a problem, e.g. my browser shows "http://XXX.XXX.XXX.XXX/site/multi.php" and even eshop.local is not there.What option shall i place in the <Directory> here</Directory> in order to hide in the browser the true path and show only eshop.local/manager path???As i can see, the site it's working, but the fact that it reveales the truth path, it's something i wouldn't like to happen.
In setting up a SSL payment page for online sales it is suggested by the merchant services company that the sensitive data (i.e., merchant credentials, ID and SSL pin, etc) be hidden with the use of Server Side Code. I have been unable to find, after hours of searching, a comprehensive definition of server side code and how it could be used for this purpose. Don't care if the customer views the rest of the code, just want to hide a section. Have seen something that says
that looks like the phrase I need, but where do I put it in my block of code? I have
I am in need of session variable must be exist even after browser closed or system shutdown. But in my page it will not support session scope between browsers that is at first i signin with firefox while i login with chrome browser it comes to login page . Why these happen . Please any body help me to solve this problem.
I want to check different cross browser compatibility in a single browser.Is there any package to check those browser compatibility,because I am using Low specifiaction System.so i cannot install different browsers.It takes time to load.Currently I am using Mozilla Firefox 4.
PHP Eclipse Internal Browser set the Internal Browser to the Chrome Web Browser.Clicked Windows > web Browser > Chrome (the other options of course were default, IE, FF) viewing a web page in the External Chrome Browser rendered differently when viewed in the PHP Eclipse Internal Browser(Set To Chrome).In comparing internal PHP Eclipse browser set to Chrome with external Chrome Browser.Negative Margins showed differently, Text Line heights showed differently.the presentation would be the same on the Internal and External Browser.changed the PHP Eclipse Internal Browser to use IE and Fire Fox.The presentation of webpages in internal PHP Eclipse browser does not seem to change despite changing the web browser it is to use.
im making a browser within browser (dont bother asking why), but the problem is when i use file_get_contents, it works, however, the original HTML doesnt use absolute locations of images etc... so it tries to look for them on my server .
I tried using str_replace to change it but i cant distinguish between things which are relative and absolute references...
I have a download script that downloads video files. Right now I have just a simple link that points to the file and people Right Click + Save Target As in order to download them (or click but QuickTime plays them insome cases).
Now, I got hacked a few days ago via ddos. They sent bots to download a certain clip that is 700mb and my server crashed. Also, A lot of times peoplelink to my files and there is nothing I can do about it. Code:
I have a php page . I need to make it hard for user to get direct download link.For this i need a js function which start downloading pdf after 10sec automatically after page load. I dont want to provide a download link at all. Also I cant use onpageload . PDF must download.
I have a webserver which some user have their own accounts on. I want to provide the users with some public classes which they may use use when they are making there own php code placed in their own directories.
I want the code to be accessable via an interface (like h-files in c) but I do not want my code to be viewable to the users which are using my classes. Very much like a library or something. How do I make php code which are hidden but are free to use by my users with a defined interface against my classes?
I'm trying to launch an AIM bot from my web page via the exec() command, which works, but the page just keeps loading and doesn't stop until I kill the bot. I think PHP is waiting for output and doesn't stop waiting until the script dies. Can I stop this from happening?
I have a questions that I haven't got an answer after 2 days of search. So I am now asking for help badly, here is the big deal: How can I hide the real path of an .avi file but still be able to download it?
I have several buttons associated to swf-movies generated by a php-script. What I would like to do: Avoid giving the absolute information in the status bar but only the information of the displayed movie.
Let's say that a user sends info to my site, my script encrypts the info via a key, and the script stores the encrypted version into the database. Obviously, the key is within my PHP code. To decrypt the information later, I simply use the same key that's within my PHP code. Then, someone -- somehow -- gets into my system, able to view my database files. so the person can only view the encrypted version.
I can understand encrypting a stream, but is it really beneficial to encrypt stored information? If someone is good enough to get into my site to begin with, aren't they going to be smart enough to open up my PHP code in Notepad and search out the key?
some reason on one of my websites a PHPSESSID is shown sometimes in the URL. For example, product.html sometimes shows as product.html?PHPSESSID=20d397227fadb4339fe4dc5ad8c9adb8. Now I am using a .htaccess file to have friendly URL's. But on my other sites they don't show a PHPSESSID in the URL. The main reason I want to use a .htaccess file is to get rid of the "?".