Posts by Victor Stanford • 7 points
5 posts
-
0
votes1
answer52
viewsA: Problem with . htacess Url
I’ve had a similar problem and this . htacess helped me a lot: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteCond…
-
0
votes0
answers17
viewsQ: Directory as if it were PHP root folder
Hello, as a matter of organization I wanted to do one thing, all the files stay in the root folder for example: htdocs index.php by organization I wanted to learn how to do so: htdocs template…
phpasked Victor Stanford 7 -
0
votes1
answer30
viewsQ: With pulling a variable out of the PHP function
I am mounting a code to make comments but the connection to the database is outside the function, so it is necessary to put the code inside the function, as I pull the code that is outside? include…
phpasked Victor Stanford 7 -
-1
votes2
answers41
viewsQ: Write to a file from another PHP site
Hello, I have two sites, I need to send data from one to the other with php Site 1: <!DOCTYPE html> <html> <head> <title>Site 1</title> </head> <body>…
phpasked Victor Stanford 7 -
0
votes1
answer131
viewsQ: Run script only once
I set up a real-time alert script but wanted the alert to appear only once, it loops infinity even clicking close. How do I stop it after the code is executed or how to run only once? This is my…