10 Topics
|
|
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <!--[if lt IE 7 ]> <html class="no-js loading ie6 oldie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 7 ]> <html class="no-js loading ie7 oldie" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 8 ]> <html class="no-js loading ie8 oldie" dir="ltr" lang="en-US"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html … |
|
<?php session_start(); define( “USERNAME”, “john” ); define( “PASSWORD”, “secret” ); if ( isset( $_POST[“login”] ) ) { login(); } elseif ( isset( $_GET[“action”] ) and $_GET[“action”] == “logout” ) { logout(); } elseif ( isset( $_SESSION[“username”] ) ) { displayPage(); } else { displayLoginForm(); } function login() { if (isset( … |
|
<form action="process_registration.php" method="get" > <label for="lname">Login Name:</label> <input type="text" name="lname" id="lname" /> <label for="pswrd">Password:</label> <input type="password" name="pswrd" id="pswrd" /> <input type="submit" value="Submit" class="animated shake" /> <input type="reset" value="reset" class="animated shake" /> </form> and the php code is <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> <head> … |
|
<?php // Dump the games.csv file into an array $games = fgets('file/games.csv'); // Parse the array foreach($games as $game) { echo "{$game}"; } ?> Error i get Warning: fgets() expects parameter 1 to be resource, string given in C:\wamp\www\test\peartest.php on line 3 Call Stack # Time Memory Function Location 1 … |
|
Warning: include_once(PEAR5.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\wamp\www\test\HTML\PEAR.php on line 730 i have added all the files in from pear into the HTML and test folder and there aare lots of error in the page im getting this error can any body tell … |
|
l have been trying to install pear for a long time now but cant get it to work. l am using VertrigoServ as my webs server and have it installed in my D drive. Can someone point me in the right direction a tutorial or something. |
|
|
Hi I want to know has anyone used **PEAR** or **htmLawed**? **PEAR**: http://pear.php.net/ **htmLawed**: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php I download the both files (**PEAR** & **htmLawed**) For **htmLawed** it's looks very simple to used but not sure how I can adapted to the websites? As for **PEAR** I finally got it installed! There's … |
I was installing pear using pyrus.phar from the command line. everything is ok but when I try to use it I find nothing. I need the pear/Exceptions.php extension. I open the folder where I installed pear and I've found nothing. I don't know what I did wrong |
|
I've been working on some code for a while, and it seems that I have a problem at the moment. The code, to me, looks correct and should work, but while trying to use PEAR to send mail out, it's throwing this error: PHP Parse error: syntax error, unexpected T_STRING … |
|
Hi, Is it possible to design a PHP application to draw UML diagrams using reverse engineering? So far I found a PEAR package (PHP_UML). Anybody has an idea on using it? Thanks, Kiran |
The End.