:)Both two phones’ phonebook memory allows entry of unlimited entries and fields, Photocall in the phone and it can also store unlimited call details.
| Zubrag.com |
|
September 09, 2010, 11:07:37 pm
|
|||
|
|||
| Home | Help | Search | Login | Register |
|
1
Programmers Lounge / Programmers: General Discussion / Re: New member of Android: Acer mobile phone series reviews
on: Today at 10:07:54 pm
|
||
| Started by cutebear - Last post by CCfruits | ||
|
:)Both two phones’ phonebook memory allows entry of unlimited entries and fields, Photocall in the phone and it can also store unlimited call details.
|
||
|
2
zubrag.com / Bugs / Known Issues / Re: Warning: file_get_contents with cPanel WHM Account Creator (Reseller account)
on: September 08, 2010, 10:08:38 am
|
||
| Started by cosmo - Last post by andrewz | ||
|
Someone try's to get you password.
|
||
|
3
on: September 07, 2010, 05:22:14 am
|
||
| Started by gazza - Last post by gazza | ||
|
Many thanks Zubrag for you assistance, it now works.
Also thanks to others on this Forum who have posted various options which can be added. This is a really great script, I've managed to add a few extra features despite being a relative novice when writing php |
||
|
4
on: September 07, 2010, 02:20:09 am
|
||
| Started by gazza - Last post by zubrag | ||
|
I think the problem is here
array($this->email, $this->LOGIN_INFORMATION[$this->email][1]), you pass email, username, but no password. Should be something like this array($this->email, $this->LOGIN_INFORMATION[$this->email][1], $this->LOGIN_INFORMATION[$this->email][NN]), where NN should be 2 or 0 not sure |
||
|
5
on: September 06, 2010, 01:52:46 pm
|
||
| Started by gazza - Last post by gazza | ||
|
I'm trying to create a reminder by Email Address Form, I've almost got it working however I have one minor problem which I hope someone can help
I receive a reminder email however the email sends the Email Address and Login but not the Password The scripts I have edited are as follows reminderemail.php <?php #################################################################### # Password Protect Avanced :: Email Reminder Form - v.1.1 #################################################################### # Visit http://www.zubrag.com/scripts/ for documentation and updates #################################################################### // load settings include_once('settings.php'); class zubrag_reminderemail_form { function zubrag_reminderemail_form() { $this->error = ''; $this->email = ''; } function parse_user_input() { $this->email = isset($_POST['access_email']) ? $_POST['access_email'] : ''; // remove suspicious characters $remove_chars = array("\n","\r", "\r\n", '"', "'", '&','<','>',',','/', '\\'); // convert to lowercase $this->email = strtolower(str_replace($remove_chars, '', $this->email)); } function showReminderPasswordProtect() { include('reminderemail_header.php'); include('reminderemail_form.php'); include('reminderemail_footer.php'); } function validate_user_input() { // email validation if ($this->email === '') { $this->error = "Email Address Incorrect or Not Registered"; return false; } } function load_users_list() { // list of users $users = @file(USERS_LIST_FILE); if ($users) { // remove php "die" statement (hackers protection) unset($users[2]); } // prepare users list $this->LOGIN_INFORMATION = array(); foreach ($users as $user) { $u = explode(',',$user); $this->LOGIN_INFORMATION[trim($u[2])] = array(trim($u[1]), trim($u[0])); } } function validate_user() { // check if user exists foreach($this->LOGIN_INFORMATION as $key => $value) { if ($key == $this->email) { return true; } } $this->error = "Email Address $this->email does not exist"; return false; } // send reminder function send_email() { // additional email headers $headers = 'From: ' . REMINDEREMAIL_EMAIL . "\r\n" . 'Reply-To: ' . REMINDEREMAIL_EMAIL . "\r\n" . 'X-Mailer: PHP mailer'; $email = $this->email; $res = @mail( $email, // to REMINDEREMAIL_SUBJECT, // subject str_replace( array('%email%', '%login%', '%password%'), array($this->email, $this->LOGIN_INFORMATION[$this->email][1]), REMINDEREMAIL_MESSAGE ), $headers ); if (!$res) $this->error = "Could not send reminder. Please try again"; } function redirect() { header('Location: ' . REMINDER_THANKS_URL); exit(); } } $reminder_form_instance = new zubrag_reminderemail_form(); if (isset($_POST['access_email'])) { while (true) { $reminder_form_instance->parse_user_input(); if ($reminder_form_instance->error) break; $reminder_form_instance->validate_user_input(); if ($reminder_form_instance->error) break; $reminder_form_instance->load_users_list(); if ($reminder_form_instance->error) break; $reminder_form_instance->validate_user(); if ($reminder_form_instance->error) break; $reminder_form_instance->send_email(); if ($reminder_form_instance->error) break; $reminder_form_instance->redirect(); break; } if ($reminder_form_instance->error) $reminder_form_instance->showReminderPasswordProtect(); } else { // show signup form $reminder_form_instance->showReminderPasswordProtect(); } ?> settings.php Added the following to the bottom / Email will be user as "From" email define('REMINDEREMAIL_EMAIL', 'secretary@stroudskittles.co.uk'); // Subject for reminder email define('REMINDEREMAIL_SUBJECT', 'Password Reminder'); // User will be redirected to this page after submit define('REMINDEREMAIL_THANKS_URL', 'http://www.stroudskittles.co.uk/reminder.html'); define('REMINDEREMAIL_MESSAGE', ' Hello Your Login Information is as follows: Email Address: %email% User Name: %login% Password: %password% Regards Stroud and District Skittle League '); ?> |
||
|
6
on: September 05, 2010, 10:46:36 am
|
||
| Started by diabolo - Last post by diabolo | ||
|
Hi,
i'm using Joomla and would like to protect some sections. For exemple: com_content&view=category&id=1 should be visible without password protect and com_content&view=category&id=2 should be visible with password protect Any clue if this is possible and if yes, how? Thanks! |
||
|
7
on: September 05, 2010, 10:07:01 am
|
||
| Started by maurellis - Last post by maurellis | ||
|
Hi,
I would like to put a restriction of a time-limit for downloads from my website. For example: 24hrs and one can no longer download any files. Perhaps a restriction via email. Any ideas please? |
||
|
8
on: September 02, 2010, 09:42:35 pm
|
||
| Started by lysun45 - Last post by CCfruits | ||
![]() |
||
|
9
on: September 02, 2010, 02:46:09 pm
|
||
| Started by gazza - Last post by gazza | ||
|
Hello
I'm almost there getting this script to work, however I apear to have an eror in the reminderemail.php script (a copy of reminder.php). The script goes to the Thank You page but does not send an email Can anyone advise where I've gone wrong. the script is as follows <?php #################################################################### # Password Protect Avanced :: Email Reminder Form - v.1.1 #################################################################### # Visit http://www.zubrag.com/scripts/ for documentation and updates #################################################################### // load settings include_once('settings.php'); class zubrag_reminder_form { function zubrag_reminder_form() { $this->error = ''; $this->email = ''; } function parse_user_input() { $this->email = isset($_POST['access_email']) ? $_POST['access_email'] : ''; // remove suspicious characters $remove_chars = array("\n","\r", "\r\n", '"', "'", '&','<','>',',','/', '\\'); // convert to lowercase $this->email = strtolower(str_replace($remove_chars, '', $this->email)); } function showReminderPasswordProtect() { include('reminderemail_header.php'); include('reminderemail_form.php'); include('reminderemail_footer.php'); } function validate_user_input() { // email validation if ($this->email === '') { $this->error = "Email Address Incorrect or Not Registered"; return false; } } function load_users_list() { // list of users $users = @file(USERS_LIST_FILE); if ($users) { // remove php "die" statement (hackers protection) unset($users[2]); } // prepare users list $this->LOGIN_INFORMATION = array(); foreach ($users as $user) { $u = explode(',',$user); $this->LOGIN_INFORMATION[trim($u[2])] = array(trim($u[1]), trim($u[0])); } } function validate_user() { // check if user exists foreach($this->LOGIN_INFORMATION as $key => $value) { if ($key == $this->email) { return true; } } $this->error = "Email Address $this->email does not exist."; return false; } // send reminder function send_email() { // additional email headers $headers = 'From: ' . REMINDEREMAIL_EMAIL . "\r\n" . 'Reply-To: ' . REMINDEREMAIL_EMAIL . "\r\n" . 'X-Mailer: PHP mailer'; $email = LOGIN_AS_EMAIL ? $this->email : $this->LOGIN_INFORMATION[$this->email][1]; $res = @mail( $email, // to REMINDEREMAIL_SUBJECT, // subject str_replace( array('%login%', '%password%'), array($this->email, $this->LOGIN_INFORMATION[$this->email][0]), REMINDEREMAIL_MESSAGE ), $headers ); if (!$res) $this->error = "Could not send reminder. Please try again."; } function redirect() { header('Location: ' . REMINDER_THANKS_URL); exit(); } } $reminder_form_instance = new zubrag_reminder_form(); if (isset($_POST['access_email'])) { while (true) { $reminder_form_instance->parse_user_input(); if ($reminder_form_instance->error) break; $reminder_form_instance->validate_user_input(); if ($reminder_form_instance->error) break; $reminder_form_instance->load_users_list(); if ($reminder_form_instance->error) break; $reminder_form_instance->validate_user(); if ($reminder_form_instance->error) break; $reminder_form_instance->send_email(); if ($reminder_form_instance->error) break; $reminder_form_instance->redirect(); break; } if ($reminder_form_instance->error) $reminder_form_instance->showReminderPasswordProtect(); } else { // show signup form $reminder_form_instance->showReminderPasswordProtect(); } ?> |
||
|
10
General Category / General Discussion / Re: Motorola Backflip review: more fashional, functional and attractive
on: September 01, 2010, 08:50:22 pm
|
||
| Started by lysun45 - Last post by CCfruits | ||
|
The Motorola Backflip is powerful, handsome and fast. It comes with a manual keyboard and a great screen and is still only 15.3 millimeters (.6 inches) thick. They put the manual keyboard on the back side of the reverse flip. It opens like a book with the keyboard on the back being exposed at all times. The screen is also a big part of the Motorola Backflip, of course. It has a capacitive touch screen that comes in at 3.1 inches. This is an average size for a screen on a smartphone now. The physical resolution of the display is 320 by 480 or HVGA. It is not the AMOLED style. It still uses the TFT LCD style that can chew up battery time a little quicker than the AMOLED. The Backflip does come with an accelerometer to change the mode of the screen from portrait to landscape and back again automatically. This is handy for texting and for viewing web pages.
|
||