Search found 31 matches
- Wed Feb 01, 2006 4:56 pm
- Forum: Installation and Configuration
- Topic: Slight .htaccess Problem
- Replies: 4
- Views: 1778
Hey all, I tried changing it to the following: RewriteEngine on RewriteBase / RewriteRule ^([A-Za-z_0-9-]+)((/)|())?$ redirect.php?user=$1 I even tried adding a / in front of redirect.php to call for the home directory. None of this seems to work for me. If i type in http://www.website.com/username/...
- Wed Feb 01, 2006 11:24 am
- Forum: Installation and Configuration
- Topic: Slight .htaccess Problem
- Replies: 4
- Views: 1778
Slight .htaccess Problem
I have the following code in my .htaccess file for my website. RewriteEngine on RewriteBase / RewriteRule ^([A-Za-z_0-9-]+)((/)|())$ redirect.php?user=$1 Now let me explain. I basically host a blog site for a few friends of mine and I make it possible for users to view their blog by visiting http://...
- Wed Aug 31, 2005 3:18 am
- Forum: PHP - Code
- Topic: mail() function woes
- Replies: 3
- Views: 498
mail() function woes
Hi all, I am writing a script to email all fifty of my contacts from my address book from a CSV file. Everything is fine with the CSV file, i fgetcsv() without problems, but when I am sending my message, it is a good ten lines long with three paragraphs. When I input my \n into the e-mail, it doesn'...
- Mon Aug 29, 2005 2:59 pm
- Forum: PHP - Code
- Topic: Weird error
- Replies: 1
- Views: 229
Weird error
function email_checker($tess) { $name_check = $db_object->query("SELECT m_email FROM mail_list WHERE m_username = '{$_SESSION['username']}' AND m_email = '$tess'"); $name_checkk = $name_check->numRows(); if ($name_checkk != 0) //if number of rows isn't 0, there obviously is already a row ...
- Mon Aug 29, 2005 11:36 am
- Forum: PHP - Code
- Topic: General mailing list question
- Replies: 7
- Views: 360
- Mon Aug 29, 2005 11:32 am
- Forum: PHP - Code
- Topic: General mailing list question
- Replies: 7
- Views: 360
- Mon Aug 29, 2005 11:21 am
- Forum: PHP - Code
- Topic: General mailing list question
- Replies: 7
- Views: 360
here is what it outputted: INSERT INTO mail_list (m_id, m_username, m_email, m_name) VALUES ('862','johndoe', '', '') INSERT INTO mail_list (m_id, m_username, m_email, m_name) VALUES ('862','johndoe', '', '') Meaning, even though I inputted the last two things that should be inputted (SESSIONemail a...
- Mon Aug 29, 2005 11:13 am
- Forum: PHP - Code
- Topic: General mailing list question
- Replies: 7
- Views: 360
General mailing list question
I am incorporating a mailing list feature for my blog users and I was wondering what I need to fix in the database query. I have a page where my users can input up to 10 email addresses with 10 accompanying names. Everything in this code works fine except for the last two values I want inputted (SES...
- Mon Aug 29, 2005 10:57 am
- Forum: PHP - Code
- Topic: What the..this should be so easy
- Replies: 5
- Views: 369
- Mon Aug 29, 2005 10:45 am
- Forum: PHP - Code
- Topic: What the..this should be so easy
- Replies: 5
- Views: 369
- Mon Aug 29, 2005 10:31 am
- Forum: PHP - Code
- Topic: What the..this should be so easy
- Replies: 5
- Views: 369
What the..this should be so easy
I have the following code in profile_add.php. $code=$_GET['c']; //check and see if propagated code is between 1-7 to prevent anything fishy if($code && ($code!=1 || $code!=2 || $code!=3 || $code!=4 || $code!=5 || $code!=6 || $code!=7)) { die('Invalid code. Please contact us if this problem p...
- Mon Aug 29, 2005 12:14 am
- Forum: PHP - Code
- Topic: Form return data retrieval?
- Replies: 5
- Views: 886
- Sun Aug 28, 2005 11:19 pm
- Forum: PHP - Code
- Topic: Form return data retrieval?
- Replies: 5
- Views: 886
- Sun Aug 28, 2005 4:03 pm
- Forum: PHP - Code
- Topic: Form return data retrieval?
- Replies: 5
- Views: 886
Form return data retrieval?
Hey all, I am offering users at my blog site a 'mailing list' feature for them to be able to send newsletters to all their subscribers. In addition to having a textbox on their blog homepage for people to subscribe, I am allowing the blog owner, in their member control panel, to add up to 10 email a...
- Mon Aug 15, 2005 3:51 pm
- Forum: PHP - Code
- Topic: Formatted text + database insertion/retrieval
- Replies: 2
- Views: 258
Formatted text + database insertion/retrieval
Hey all, I have a site similar to any other blog site, where I have a few friends coming and posting whatever they want. I found this "Rich-text Editor" online, a WYSIWYG editor for posting to their blog...and have a few questions about database input and future output. Since the WYSIWYG e...