Search found 262 matches

by Shiv
Wed Jan 31, 2007 8:41 pm
Forum: PHP coding => General
Topic: Create random/anonymous email address
Replies: 7
Views: 2025

Hi gesf,

My problem is solved but it is not actually implemented for some other reason. Thanks.
by Shiv
Wed Jan 31, 2007 8:39 pm
Forum: PHP coding => General
Topic: Create random/anonymous email address
Replies: 7
Views: 2025

Hi kthompso dont b angry,

I know it is bad thing but what can I do? It is just I have to obey the clients. It is my job.
:(
by Shiv
Fri Jan 19, 2007 6:45 am
Forum: PHP coding => General
Topic: Parse error
Replies: 3
Views: 1440

Hey ramesh u have posted wrong answer. check it out again.
by Shiv
Thu Jan 18, 2007 9:22 pm
Forum: PHP coding => General
Topic: Parse error
Replies: 3
Views: 1440

Yes use that is given by mukesh
but u can use this too

Code: Select all


echo "<p class=\"productreview\"> $productArr[\"review_en\"] <p>";
Put back slash to negate.
by Shiv
Sun Jan 07, 2007 11:59 pm
Forum: PHP coding => General
Topic: Create random/anonymous email address
Replies: 7
Views: 2025

Create random/anonymous email address

Hi Friends, I am developing a portal. I need to hide the email address of registered user or make an alias. e.g. the original email address of user is : user@hotmail.com and i want to display it like a1b2c4@myserver.com Now any mail that is sent to a1b2c4@myserver.com should be redirected to user@ho...
by Shiv
Wed Dec 27, 2006 8:30 pm
Forum: PHP coding => General
Topic: PHP to Javascript Variable
Replies: 1
Views: 1427

If <?=PHPLINK?> is php variable then it should be
<?=$PHPLINK?>
by Shiv
Wed Dec 27, 2006 8:26 pm
Forum: PHP coding => General
Topic: Path Forwarding URL ?
Replies: 1
Views: 1100

You have to see URL Rewriting. It can be implemented by Apache's mod_rewrite.
See apache.org
by Shiv
Mon Dec 11, 2006 4:02 am
Forum: Free time
Topic: Bug in edit profile
Replies: 2
Views: 3105

Bug in edit profile

Hi,

I have received a blank page as a display when I went to change my avtar.

I went to avtar and I changed the category and pressed Go button. It showed blank page.
The URI was http://www.php-forum.com/p/profile.php?mode=editprofile
by Shiv
Mon Dec 11, 2006 3:57 am
Forum: mySQL & php coding
Topic: Problem in PHP+mysql
Replies: 1
Views: 1426

Post your code here.
by Shiv
Mon Dec 11, 2006 3:55 am
Forum: PHP coding => General
Topic: Help with addslashes
Replies: 2
Views: 1150

when you fetch the value from database, use stripslashes().
by Shiv
Fri Dec 08, 2006 6:03 am
Forum: PHP coding => General
Topic: Text messaging using php
Replies: 2
Views: 1045

Ok thanks.

Yes I googled and have some free gateway but not trusted.

ok thanks if you come accross some then please let me know.
by Shiv
Thu Dec 07, 2006 8:43 pm
Forum: PHP coding => General
Topic: Text messaging using php
Replies: 2
Views: 1045

Text messaging using php

Hi Friends,

I want to send a text message on cell phone by using PHP script.

Is that possible? I need a script.

Thanks
by Shiv
Wed Aug 23, 2006 5:01 am
Forum: mySQL & php coding
Topic: Cannot delete Record!
Replies: 6
Views: 2814

I guess, user has no rights to delete record. :)
by Shiv
Tue Aug 22, 2006 7:48 pm
Forum: PHP coding => General
Topic: Variable Passing Post Problem!
Replies: 4
Views: 1552

Hey I saw your code. I dont think there should be
type="POST"
It must be method="POST"
In form element
by Shiv
Thu Aug 17, 2006 7:45 pm
Forum: phpMyAdmin
Topic: phpMyAdmin create table ERROR
Replies: 9
Views: 6642

However, there's no need to use both single quotes (') or back tick (`). Of course, i'm not talking about fields' values. Single quotes must be added when needed. Example: INSERT INTO table SET id=20, name='john'; Exactly, gesf is right. I never use back tick (`) for table or field names. It is jus...
by Shiv
Thu Aug 17, 2006 1:46 am
Forum: phpMyAdmin
Topic: phpMyAdmin create table ERROR
Replies: 9
Views: 6642

Yes, I think the example on that link is wrong. It doesnt work.

MySQL doesnt accept single quote (') for table names and field names.
For normal string we use single quote (').

e.g.

SELECT `fname`, `lname` FROM `tblusers` where userid = 'viral'
by Shiv
Thu Aug 17, 2006 12:04 am
Forum: phpMyAdmin
Topic: phpMyAdmin create table ERROR
Replies: 9
Views: 6642

Second one is working. 1. CREATE TABLE 'tutorials'( 'ID'tinyint( 11 ) NOT NULL AUTO_INCREMENT , 'title'text NOT NULL , 'avatar'text NOT NULL , 'date'date NOT NULL default '0000-00-00', 'description'text NOT NULL , 'user'text NOT NULL , 'message'text NOT NULL , PRIMARY KEY ( 'ID' ) ) TYPE = MYISAM AU...
by Shiv
Wed Aug 16, 2006 7:52 pm
Forum: phpMyAdmin
Topic: phpMyAdmin create table ERROR
Replies: 9
Views: 6642

I think you have used single quote (') instead of back tick (`).
Use back tick (`) in Table Name and Field Names.
by Shiv
Mon Aug 14, 2006 9:45 pm
Forum: PHP coding => General
Topic: understanding problem!!!
Replies: 1
Views: 1051

As far as I know ([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) is a regular expression for checking date. [0-9]{4} means accept 0 to 9 (only 4 digits). I think it is for Year. Then - (only dash) [0-9]{1,2} means accept 0 to 9 (1 or 2 digits). I think it is for month. Then - (only dash) [0-9]{1,2} means accep...
by Shiv
Thu Aug 10, 2006 4:43 am
Forum: PHP coding => Images
Topic: help me!!!
Replies: 1
Views: 2139

Refer
http://in2.php.net/manual/en/features.file-upload.php

$_FILES['userfile']['type']
The mime type of the file, if the browser provided this information. An example would be "image/gif".
by Shiv
Mon Aug 07, 2006 5:17 am
Forum: Free time
Topic: Bug when New Private message received
Replies: 0
Views: 2303

Bug when New Private message received

Hi,

Last time when I got New Private Message, it displayed me 2 times(2 different boxes) that You have 1 new Message.

Plz check that.

Thanx
by Shiv
Sun Aug 06, 2006 11:25 pm
Forum: PHP General
Topic: for-in loop ~
Replies: 1
Views: 1473

use foreach
by Shiv
Sun Aug 06, 2006 11:25 pm
Forum: PHP coding => General
Topic: PHP query problem
Replies: 0
Views: 789

Try this

Code: Select all

$query ="UPDATE template SET Qty = " . $_SESSION['QTY'][$i] . " WHERE id = $i";
by Shiv
Fri Aug 04, 2006 2:07 am
Forum: PHP coding => General
Topic: login page error
Replies: 4
Views: 1444

plz write

Code: Select all

echo $sql;
after line no. 28
It will show u the actual query. copy that query statement from browser and paste into phpMyAdmin and try to execute. If it executes without error then your code is ok. :)
by Shiv
Wed Jul 26, 2006 10:05 pm
Forum: PHP coding => General
Topic: Add Listner like Java
Replies: 1
Views: 1130

We add listeners in JAVA for handling events.