Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for riseguim

Hi everyone, Ok so let me start by saying I am COMPLETELY new with MySQL, I have only tried to use it for the first time hours ago. This might be an easy one for you guys... Here's my code: <?php // Grab User submitted information $email = $_POST['users_email']; $pass …

Member Avatar for rsewak
0
385
Member Avatar for riseguim

Hi there, this script here makes my pictures (put in div with ids "elem0", "elem1", "elem2", and on). The original script has been written so at the very last elem, it stops. I would like it to start again at elem 0, like a loop. I have tried for the …

Member Avatar for riseguim
0
102
Member Avatar for riseguim

Hi there, How can I ignore case sensitivity when people type in letters and get redirected through this script: <?php if($_GET['username'] == "BBY"){ header("Location: http://www.x.ca"); } elseif($_GET['username'] == "RS"){ header("Location: http://www.x2.ca"); } elseif($_GET['username'] == "WM"){ header("Location: http://www.x3"); } elseif($_GET['username'] == "RP"){ header("Location: http://www.x4.ca"); } elseif($_GET['username'] == "SM"){ header("Location: http://www.x5.ca"); } …

Member Avatar for riseguim
0
131
Member Avatar for riseguim

Hi there, I've been looking a lot on Google for this and couldn't quite find exactly what I was looking for. I have an upload function on my website and sometimes it can take a lot of time until the upload is complete. What I seek is that when you …

Member Avatar for pritaeas
0
119
Member Avatar for riseguim

Hi guys, I simply need to add an exception to this directory listing coding so .php files aren't visible. Do any of you know how to do that? Thanks!! [CODE]<?php // open this directory $myDirectory = opendir("."); // get each entry while($entryName = readdir($myDirectory)) { $dirArray[] = $entryName; } // …

Member Avatar for riseguim
0
4K
Member Avatar for riseguim

Hi guys, ok so here's the deal: currently I have this PHP code that allows someone to see every files that are in the directory. I would also like for them to be able to delete any files he wants. Here's my PHP code: [CODE] <?php // open this directory …

Member Avatar for riseguim
0
692
Member Avatar for riseguim

I would like to know if it is possible for someone to fill a form on my website, but instead of sending it to a email or database, simply print it? Because we can't handle credit cards here, and I want people to fill in the form, print it, and …

Member Avatar for riseguim
0
143
Member Avatar for riseguim

For some reason, people cannot write apostrophes without resulting with an error... For example: Prud'homme will not work Here's my line of code: [CODE]$string_exp = "/^[A-Za-zé.¸UûÙùàÀèÈéÉïÏîÎôÔêÊçÇ .,'-]+$/";[/CODE] I don't understand why it doesn't work, does someone know?

Member Avatar for minitauros
0
129
Member Avatar for riseguim

Hi! So here's the deal: I have this style switcher which is awesome, therefore, the cookie does not seem to work, actually it simply doesn't. I'm sure someone can figure this out for me, that would save me! [CODE]<script type="text/javascript"> // *** TO BE CUSTOMISED *** var style_cookie_name = "style" …

Member Avatar for riseguim
0
139
Member Avatar for riseguim

Hi, so I have this script that alternates my CSS stylesheets and it's working great. The thing is, there was a cookie coding that was included but it doesn't work. Basically what I want to do is that the browser remembers which stylesheet the user had chosen and keep it …

Member Avatar for riseguim
0
176
Member Avatar for riseguim

Ok so I want people to fill in a form and when they press submit it gets sent to my email address... Everything is working fine I just need to know how to make the checkbox appear in my email, the free script I used didn't have any checkbox and …

Member Avatar for riseguim
0
199
Member Avatar for riseguim

Ok so here's the deal... I have mostly French-speaking customers and they'll type-in their name with accents (such as é, à, è, etc.) in the following script [CODE]$string_exp = "/^[A-Za-z .'-]+$/"; if(!preg_match($string_exp,$prenom)) { $error_message .= 'Invalid name<br />';[/CODE] It will say "invalid name". I know that to fix this I …

Member Avatar for riseguim
0
147
Member Avatar for riseguim

Hi, I have a form to email script here and whenever someone puts "à, é, etc" anything with an accent in the name or last name section it says that it is invalid. Also I would like to make the telephone number area required... Might you know how? [CODE]<?php if(isset($_POST['email'])) …

Member Avatar for riseguim
0
220
Member Avatar for riseguim

Hi, I am rebuilding a new website for a company and they already have a .htaccess file with the following code in it: [CODE]RewriteEngine on RewriteCond %{REQUEST_URI} !(/liens_photos/20091111|images/olympique07/) [NC] RewriteRule (.*)\.html? /$1\.php [L][/CODE] Unfortunately I am very new with this and I want to know what this code does exactly... …

Member Avatar for almostbob
0
143
Member Avatar for riseguim

[CODE=php]<?php session_start(); if(!isset($_SESSION["username"])) { header('Location: login.php'); exit; } ?>[/CODE] I have this code on the page I want to be password protected. Everything is working perfectly fine on Firefox, but in Internet Explorer it doesn't load the content of the page once the login information has been verified. Any suggestions? …

Member Avatar for karthik_ppts
0
170
Member Avatar for jacob21

Hi, I am working on login form.When i redirect a page its showing an error given below. Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\job\login.php:49) in C:\xampp\htdocs\job\login.php on line 50 need help. Thanks [CODE]<?php //Start session session_start(); $host="localhost"; // Host name $username="root"; // Mysql …

Member Avatar for riseguim
0
233