Jeyalakshmi
-
Posts
14 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Jeyalakshmi
-
-
<?php$string = "This is a test";echo str_replace(" is", " was", $string);echo ereg_replace("( )is", "\\1was", $string);echo ereg_replace("(( )is)", "\\2was", $string);?> output is :This was a testThis was a testThis was a testcan any one know how this has come
-
PHP mail form
in PHP
do you want to validate that e mail form or simply you are creating email form. in html you didnt specify any form tag.check this link www.php.net this is the complete resource for phpwhat you going to do explain clearlythanksI'm writing this mail form and I don't know how to get user input from the fields Name and Email. I have tried using $_GET, $_REQUEST, and $_POST, but everytime I run it, I get this error:Notice: Undefined index: Email in c:\appserv\www\default.php on line 74Can anyone please help? Here's my code:Name: <input type="text" name="Name" /><br><br> Email: <input type="text" name="Email" /><br><br> Message:<br><br> <textarea rows="8" cols="50" name="Message" ></textarea> <br><br> Thank you for visiting the site. <br><br> <input type="submit" value="Send"/> <br><? php$name = $_GET["Name"];$from = $_GET["Email"];?>Thanks in advance. -
friends i got the output. problem while saving the fileMake sure you have the right path. Print out the variable __FILE__ to see the current path and filename. Sometimes hosts don't let you see the actual path when they set up a virtual directory, but you can't use the virtual directory path to open a file. -
it has all the permissionsmake sure the file and folders have hte needed permissions. -
new to php
in PHP
ok do you know any good bookSorry i don't understand what you mean If you want to learn something search for some tutorials or buy a book.Practise as you go along.If you get stuck ask your questions here. -
<?php$f=fopen('/home/ramkumar/Desktop/a.txt','r') or exit("unable to open the file");while (!feof($f)) { $x=fgetc($f); echo $x;}fclose($f);?>this is the program i am getting unable to open the file as an output . i tried using both absolute and relative path
-
new to php
in PHP
one more thing i saw a book in that classes and all they created using php. when shall we do like this.scott could u please tel me a simple situation i'll try to do that -
new to php
in PHP
scott could u please tel me a simple situation i'll try to do thatWe can help with any problems but to learn a language you should read some tutorialshttp://www.w3schools.com/php/default.asp -
new to php
in PHP
hi all i am new to php. could you please help me out to learn php
-
i got it thank youAre you trying to make a toolbar for the browser? This is not possible, you can show/hide browser toolbars but not create them like i said previously. -
thanks friend i got it. now i have one more doubt. is it possible to create a tool bar using the same thingYes you can create menu's, there are many kinds though, what do you have in mind?Here's a simple one: http://www.w3schools.com/css/tryit.asp?fil...e=trycss_float5 -
is it possible to create menu using html or csswhat HTML can't create a toolbar, it's only a markup language.Do you mean the toolbars on the browser? Javascript can show and hide these when using window.open() but it cannot create any. -
i want to create my own toolbar using html.its urgent please help me out
regular expression
in PHP
Posted