Disable User From Downloading Php3 Web Page.
I would like to allow user only to view php3 page but wants to restrict him from downloading and saving on his hard disk.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Disable Phpinfo In Php3
In PHP4 there is the posibility to disable the use of phpinfo() by putting "disable_functions = phpinfo" in the php.ini-file. Is this also possible with PHP3 (in php3.ini) or is there another way of disabling this function?
Disable Backbutton - When Page Has Expired...
I have this on the page: <?php header("Pragma: no-cache"); header("Expires: -1"); ?> but I want it so, that when the user goes back, (s)he might not be allowed too - say the session has expired. How can i achive that?
Unable To Pass Parameters To Php Page After Upgrade From Php3 To Php4
After I tried upgrading my php version from 3 to 4, all my code which passes parameters between web pages have stopped working. Not sure what the problem is. Have tried defining the parameters in the accepting php page with a '$_GET["parameter_name"]; and also a $_REQUEST["parameter_name"]; but with no luck. Even tried Globals without any luck. Below is an eg. of what I am trying to do..
Multi User/ Multi Page Redirect To Particular Clients Page
I need all of my clients to be able to go to ONE login page. based on their user ID number and password be able to login to their particular page, I do not want them seeing any of my other clients information. seems easy... now why cant i figure it out. I want the back end of it in mySQL, with a way for: admin to easily update the information located in there...ie: go to client 1 add new invoice information, new expiration date, etc. clients to easily update their billing information, etc from their personal page, is a must also. I just want to know if going with PHP is the best bet, or if there is another way..
Sending User To Another Page ?
I want to do something simple, here is the code: <?php if($ageCheck) // goto mainpage.html else // goto under21.html ?> What is the best way to do that ? I looked at header() but I'm not sure if that's the best way.
Redirecting User To New Page
I am very much a new user and have a basic question. When the data is successfully submitted into the database, the script echos "Successfully submitted". If, instead, I wanted to redirect the user to another page, "confirm.php" , when the data is successfully submitted, how would i do that? PHP Code:
User Authentication Page
I have a basic login page which has a form that sends test name and password to process_password.php. Basically only this bit of code runs on the first page. I havent tidyied the first page up yetif(!isset($name)&&!isset($password)) Code:
User Login Page
i just created a user login page which works. However, I don't know how to get them to a new password requiring page after they press the submit button. How do I go about getting them there?
Different Page For Different User After Login
i want to make a login page and every user will use the same page for login. when they will give user id and password and the system will automatically show different page for different user. Sample: Admin will automatically redirect to admin.php page User will automatically redirect to user.php page. Any idea and sample code for it ??
Help Implementing A User And Password Page
What I want to so is to restrict acces into a page, I was thinkin something as simple as this, having a Database in Mysql with fields user and pw use a kinda command like "where user='$user' and pword='$pword'" if the two fields match send the user to a webpage like admin.html, and the last thing how can I encript or hide the displayed url or page? like www.example.com/ or symbols etc... so a user cant cunsult the page jumping the loggin page? Thanx allot, by the way, Im starting at this php and mysql, so please try to be the most explicit Ill apreciate it.
How To Limit The User Access To The Page
how to make a user management in php, i mean that i want to limit the user access to my page. the script will not allow 2 user have an access to my page at the same time. the script only allow 1 user to access the page. the second user will have the queue massage.
Getting Page Referer Without Depending On User
I NEED the page referer for a script i've built to work, basicly i'm redirecting to my frames page with a line like this.. if ($m == "find") { $mainframe = $_SERVER['HTTP_REFERER']; } but i've been told that this data is sent from the user, so i need some way of telling my script which page to use as the main frame.
User Area / Members Page
I have altered a simple member management system from a tutorial for my site. I have the login, logout, etc. all working fine. However I need to understand the concept behing having member pages. Basically I'll have to type of users on my site, host and visitors/users. The host will have pages that they can maintain and broadcast and visitors can view the host pages based on whatever host they select. How do I go about making individual areas for each host upon their login? Sort of like a myspace system. I am able to have a user control panel, see code below, but this is a page that only the host can see. I want a page that a host broadcast and vistors can view. Code:
Redirect The User To His Own Page Once It Login
i have created a login page .. and i need to redirect the user to his own page once it login.. in the other words.. i need to redirect the user to his own database.. but the login details is stored in another database... just like once you login into your own account and it is displaying only your details.. hmmm how can i do that with php ... what method is easier and suitable ?? if can juz kindly show me how the code look like too..
How To Redirect User To A Page When Error Occurs ?
I tried to play around with "error_reporting(0);" and "set_error_handler("showError");" but failed. How can I redirect a user to a page, like saying "sorry ...etc" whenever there's error occur, rather than showing the error message for every single error ?
Session Expired -> Redirect User To Another Page.
I am using the new session management function from PHP4. session_start() how do u redirect a user to another page if his session is expired? here is what i want to do: 1. user Tom enter his correct username and password. 2. my system use session_register() function register a variable in his cookie. 3. user Tom clicked Logout 4. my system use session_destory() function and redirect Tom to the login page. 5. Now, Tom click the 'BACK' button of his browser, a page showed 'page expired, hit reload button ... ...'. here is my question, how do I redirect Tom to the login page if he clicked the BACK button?
User Login - Direct To Specific Page
If im looking to make a login system, that when someone login in with a specific username and password, it takes them to a specific page, ex. login: world password: world page they must get sent to once logged in: world.php login: hello password: hello page they must get sent to once logged in: hello.php Can someone give me a start to it here please? been looking around but cant find a good explanation of it .
Make Sure User Is Referred By Specific Page.
I know this is possible because I have seen it in a few scripts before, but I forgot exactly how the language was put. I have a link on a page inside a password protected folder, lets call it domain.com/protected/hide.php. When the user clicks on the hyperlink, they will be redirected to domain.com/folder/page.php I want to write somewhere on page.php to be sure the visitor came from hide.php, otherwise display an error message. How can I do this?
Ideas To Create User Personalize Page Without Login.
Hi,I am new with PHP, I am a new junior internet programmer. My boss asked me to do a personalize page for his search engine. Do any one willing to give some ideas of how to create a personalize page without login by user(only read the user cookies and mysql)
Stopping Another Data Insert When User Reloads Page
My PHP script inserts data into a mysql table that has been passed into it. My question is, what is the general method by which to ensure that if a user reloads the screen, the same set of data doesn't get duplicated into the database? For instance, I am inserting ticket data (its an ecommerce event system) into a mysql and really dont want duplicated entries if the user happens to press reload or back or whatever Any ideas?
Outputting Username To Stay At Top Of Page Throughout User Session.
I have a successful login and session created using PHP and MYSQL and now I would like to have the username appear at the top of the screen after successful login, and possibly, though not necessarily , throughout the entire user session until logout. Any suggestions as to the easiest, lightest weight and newbie friendly code to use?
How Redirect A User To Another Page And Send Some Variable With The Post Method?
I make a user registration. It contains two/more page. First page is for official purpose. User ID, password and some other official information is in first page and user basic information is in second page. If user enter an user id that already exist in database then a message show the same page to change his user id otherwise page is redirect to second page and send user id, and other variable that was in first page. My Code:
Disable Cookie
I am using cookie to hide a variabe in send.php3 as following:send.php3: PHP Code:
Disable Checkbox
I have a checkbox that I set by php code to be either "checked" or "". I want to disable the ability of the user to check or uncheck it. I tried "readonly", but that didn't work.
Can I Disable $PHP_AUTH_PW?
Is there any way I can disable the setting of the environment variable $PHP_AUTH_PW? I'm authenticating via LDAP, and don't need (or want) the password available to PHP. I also don't need $PHP_AUTH_USER; the current authenicated user is available in $LDAP_USER.
Disable (grey Out) A Button.
Experienced programmer but new to PHP. Moreover I'm to use PHP with Xoops on top (this adds object orientation?). I don't seem to find a xoops Usenet group? Whatever the case (and presumably a Xoops property): how does one disable (grey-out) a button?
Disable Right Click In Opera
In my website there is requirement to disable rightclick. I am providing the code and it is working in I.E ,Netscape and Mozilla.But not working in Opera browser. My code is <body oncontextmenu='return false;'> The above single line code is working very fine in the above browsers not in Opera.
How To Disable PHPSESSID From Posting In URL
I don't want the URL to display this info. I never notcied this being displayed before but all of a sudden it seemed to pop-up. I don't host my own server so any access to the php.ini file is not possible. Any ideas out there?
How To Completely Disable Openbase_dir?
I'm using php 4.3.4 and have an intermitent problem with gallery (gallery.sourceforge.net) regarding the open_basedir restriction in php. The error I am getting is: ------ PHP Warning: (null)(): Failed opening '/home/httpd/vhosts/mydom.com/httpdocs/gallery2/main.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0, referer: http://mydom.com/gallery2/main.php ------ I have disabled safemode and open_basedir in php.ini and have verified through a phpinfo() call that they are disabled. Actually, open_basedir is reported as being set to "no value" and safemode is reported as disabled. The strange thing is that this does not happen every time i access this page. It is only 1 out of 10 times and usually it is the first time i access the page for the day(but not always). I have restarted httpd and the server just in case. I also checked .htaccess but it shouldnt matter since phpinfo() says it is not set. This is baffling to me! If I could rip this feature out I would. It was installed by default on my dedicated server.
How Do You Disable The Close (x) On A Window
I'm running a PHP script on page1.php that takes a few seconds, once it has run the page then redirects to page2.php automatically sending variables . However, if the user shuts page1.php by pressing the X on the top right of the screen, the redirect doesn't happen!! Does anyone know how to disable the X and stop the page being closed down please?? or another solution??
How Do I Unclock The URL/disable Frameset?
I have a few websites out there and set up alittle script for my friends to auto register subdomains for their affiliate sites. Problem is, some affiliate programs don't allow URL MASKING and I can not figure out HOW to disable it within the script. Could someone take a look at this and help me? I'm trying to disable the frames in forward.php, along with whatever it gets linked to (i'm very new to this, so i included a link to whole script incase there is more then just forward.php I need to edit). Code:
Disable The Values In Address Bar??
Am trying with a social network site... i want to disable the values in address bar which are passing as string variables, My pages are included in the index page.. and my values are passing like that... by changing the values in address bar my page is changing.. How can i solve this issue... i think anyone can change my site using this address bar.. how could i prevent this???
Disable Right-click On Mouse
Is there a php script that wil disable the right-click on mouse or maybe disable the copy and paste feature of the browser? because i have a client, wherein he wants to prevent public viewing his website from copying his website content?
Disable Command Line Arguments For Php-cli
i have been trying to disable the -n and -c arguments that you can use with php from the command prompt. this is because these features can effectively disable my php.ini which has a whole mess of disabled_functions (that i want to ensure remain disabled). my best idea for going about doing this so far has been to download the source for the newest php, with hopes to compile my own which will ignore arguments other than a filename. so far the closest i have got is to the the zend_API.c which has the follow function: Code:
Disable .php Handler For A Specific Browser,
I would like to know if there is a way to remove/disable .php handler when the request come from a specific Browser. I ask this because I use dreamweaver / webdav to edit my .php files. But when I try to open the .php file in dreamweaver, what I see if the result of the .php executions, not the .php source files. I know that you can create an Alias location "/dav", and disable the ..php handler for this location. It's a solution, but not the best I think. It would be better if we can disable .php runtime where dreamweaver Get the files.
Disable Magic_quotes_gpc In A .htaccess File
How do I disable magic quotes via .htaccess? I put the following file in my webroot, but it does not disable magic_quotes_gpc (according to phpinfo(), both the local and master value are still "on") <IfModule mod_php4.c> php_value upload_max_filesize 8M php_value magic_quotes_gpc 0 </IfModule> The change to upload_max_filesize works (master is 2M, local value is 8M, according to phpinfo())
Disable Coding In Textboxes/Textfields
Is there a way to disable PHP, HTML, and the sort in textboxes and input fields? There are things called SQL Injections which are usually used in an url or input field to steal data from the database.
Why Does PHP As Apache Module Disable PHP's Java()?
My site was suddenly running HTTP authentication and was faster. But if this was a problem from the past, now a entire part of my site does't work because my calls i had to function Java() now generate this output: Fatal error: Call to a member function on a non-object HTTP authentication(PHP as Apache module) versus Java Virtual Machine what's the relation between them, how can i restore Java() to work properly. Is it on httpd.conf? why does not PHP call Java extension if it is installed on Apache as a module?
Disable Safe Mode Without Loss Of Security ?
I'm trying to disable safe mode from my php installation. First because this functionality will be removed in PHP6, and because it's very restrictive and it's giving me headaches when configuring frameworks and other applications. Moreover, it's said on the php website that the safe mode solution is not a good thing... I'm looking for a tutorial which indicates what to configure on a server in order to have a secured installation of PHP, but without safe mode. I can't find it...
Enable/disable Html In Form Processing
I've got a form, where it submits some info and adds it to a txt file. The file is then displayed on the front page of my site; however, there is a security problem i'd like to fix dealing with html. How would you go about disabling the use of html in a form?
|