39,326 Topics
| |
hai everyone..i have run this file in my server.the following error is display Notice: Undefined index: name in F:\wamp\www\examples1\register.php on line 8 Notice: Undefined index: username in F:\wamp\www\examples1\register.php on line 9 Notice: Undefined index: emailid in F:\wamp\www\examples1\register.php on line 10 Notice: Undefined index: password in F:\wamp\www\examples1\register.php on line 11 Notice: … | |
Hi, im wondering how i get this to work? <?php $client = new SoapClient("http://localhost:8731/phpwcf/?wsdl"); var_dump($client->KundLandKodAlternativ()); $response = $client->KundLandKodAlternativ(); $array1 = $response->KundLandKodAlternativResult->WCFString1; $array2 = $response->KundLandKodAlternativResult->WCFReturnString; echo count($array1); echo count($array2); ?> the line `var_dump($client->KundLandKodAlternativ());` gives object(stdClass)[2] public 'KundLandKodAlternativResult' => object(stdClass)[3] public 'WCFReturnString' => object(stdClass)[4] public 'string' => array (size=4) ... public 'WCFString1' … | |
$construct .="keywords LIKE '%$search_each%'"; $run = mysql_query($construct); $foundnum = mysql_num_rows($run); i wont to know what display $construct?? i wont to know what is the function of mysql_query and what mean this ($construct); i wont to know what is the function of mysql_num_rows what can it do | |
Why this code doesn't redirect to profile page? i need help.. <?php include('connectvars.php'); if(isset($_POST['login'])) { $con = mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD,DB_NAME); $user_username = mysqli_real_escape_string($con,trim($_POST['username'])); $user_password = mysqli_real_escape_string($con,trim($_POST['password'])); if(!empty($user_username) && !empty($user_password)) { $query = "SELECT * from Account where Username = '$user_username'"; $data = mysqli_query($con,$query); if(mysqli_num_rows($data) == 1) { $row = mysqli_fetch_array($data); $_SESSION['user_id'] = … | |
I have seen a couple solutions to this problem but none have worked so far. here is the error. [B]Fatal error[/B]: Call to undefined function mysql_connect() in [B]C:\wamp\www\login.php[/B] on line [B]12 [/B]and the code [PHP]<?php // connect to the mysql server $link = mysql_connect(localhost, root, admin) or die ("Could not … | |
I have a reCAPTCHA form and for some odd reason, the input field is probably 2px in height... I think something in php messed that up... can someone help me with possible solutions... I will post my php if needed and send you the link to the page for better … | |
I have generated checkboxes dynamically and want to insert into att field in attendance table.. ie when user checks the checkbox P would be inserted and when he does not check A would be inserted.. I am trying out attendance system for students.. here is what i have tried.. <?php … | |
hi, Can we do game site with joomla like game4mania thanks advance! | |
I'm working on a dynamic form where based on a visitor's selection of radio buttons certain <div> text and additional fields are shown or hidden. I would like to make some of these additional fields required but only if they are visible. Problem is: I can read php more than … | |
Hi all I am stuck trying to figure out the best way to get data as at the moment I have tried a few different ways to achieve this with no luck. What I am trying to do is update a block of php code that is in my sidebar … | |
Hello, I am making a website to do with different tests so I need a script which can unlock test 2 after test 1 is completed. Then the same for 3, then 4 etc etc. I tried using MySQL to increase an INT so I could tell what the latest … | |
horizontal scroll from while loop Hmmmm, I accidently posted this in the wrong forum. Is there a way to move it? Hey, ive been trying for several hours now to get the list horizontal with scroll instead of vertical. the divs stacks up to the right but wraps at the … | |
I have an error message that is supposed to show if you forget to finish filling out the captcha form, but unfortunatly it shows on the very top of my site right when you enter the page... I don't want it to do that... I want the error messages to … | |
hi here is a page for up load it has an upload script in it but it upload from computr. I want to upload from other servrt like transloader please check the script and tell me what should be chande thanks here is script [ICODE]<? //****************************************************************************************************** // ATTENTION: THIS FILE … | |
I am using reCaptcha and for some odd reason, I keep getting this error: **is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>** Can someone explain to me what is … | |
Hello, I have this code: mysql_query("UPDATE users SET BasicLevel = BasicLevel +1 where username='Admin'"); but its not increasing the integer. The field names are correct as well as the username. Can anyone help me? And yes, I am connected to the database. | |
Hi, I am planning to go for a php certification. Since I do not have a proper work experience, a certification will help me build my portfolio. So, I was planning for Zend certification. Is it worth taking or is some other certification (like w3schools) better? Anybody here who got … | |
i have this main_login.php code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form name="form1" method="post" action="checklogin.php"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td colspan="3"><strong>Member Login </strong></td> </tr> <tr> <td … | |
Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 | |
| hello, im using a wamp server and i want to sent an email and after writting the code, im getting an error that says 'warning: mail() [function.mail]: failed to connect to mail server at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set().' Im not … |
Hi i m trying to output pdf file from html..this html is a result of a php script i have this error from html2pdf impossible to load the image litre.php?start=2012-09-1&end=2012-09-30&client=13 any help please | |
I have a crontab job in which data from csv file get insert into mysql table at regular interval. Now i want the same table data to be inserted in ms sqlserver database. I know i can write code again to take data from csv to ms sqlserver database. But … | |
i want to create a text report and i have use this coding:- <?php $f=fopen("c:\amit.txt", "wb"); // adding header $text="\n Your text to write \n ".date('d')."-".date('m')."-".date('Y')."\n\n"; fputs($f, $text); fclose($f); ?> which results me some thing like when i open it in windows [i.e my computer->c drive->mit.txt] :- > []Your text … | |
Hi everyone :) im a new in php and mysql and doing my final year project..i want to my teacher module to create quizes for students and then want to further grade them after evaluating the marks..i want to put fill in the blanks, MCQs and true false in those … | |
hi guys, i have a rege code that looks to see if a block of text has a link. i have modded it to show the link as an image if it exists (badly i know this method isnt very good) what i need to do is check if the … | |
Hi, I have a doubt as if i have a "xml format" text message in my email body then how can i cobert it into an array so that i can fetch each node form it for example: my email body containts xml format: <?xml version="1.0" ?> <candidate> <name>Superduper automation</name> … | |
<?php if (isset($_POST['generate'])) { $charset = 'absdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ0123456789%$#-()*&.,'; $generated_password = substr (str_shufle($charset),0, 12); } ?> <form action ="password generator" method="post"> <input type="submit" name="generator" value="Generate"><input type="text" value="<?php if (isset($generated_password)) {echo $generated_password; } ?>"/> </form> when i click in generate button it show me this: Object not found! The requested URL was not … | |
| i need help ordering my data from a database using time in ascending order. |
I need to pass a variable from page1 to page2 without URL, or without making the variable visible to users, to I figured, I might use the hidden field method, but I can't do this with the following script <form method="POST" action="page1.php"> Username: <input type="text" maxlength="25" name="username" value="" class="i_login" /> … | |
Good afternoon everyone. I need to write out a simple validation. It needs to validate only if a user enters certain keywords. Here what I have so far: if(!preg_match("Indiana, Ohio", $state)) { $errors .= "You have entered the wrong state."; } What would be the correct preg_match function to only … |
The End.