39,320 Topics
| |
I have done a small web site with php and mysql. like following i need to put the record set and break the <tr> but some how its not working. can you guys please help me. ------------------------------------ | Data 01 | Data 02 | Data 03 | -----------------------------------| | Data … | |
Why, oh why isn't this simple thing working? I just want to understand why the variable $file1 is always empty. Other input types work just fine. [code] <?php $file1 = $_POST['file1']; echo "file1:", $file1; ?> <form ENCTYPE="multipart/form-data" action="add.php" method="POST"> File<input type="file" name="file1" /> <input type="submit" value="Submit Information"> </form> [/code] Jill | |
Hi guys, i want to start a PHP based online reciprocal web directory...please suggest me some good open source php directory! I am already using Skalinks here <snip> i want some thing more professional where i can show featured category, sponsers, banners etc Cheers | |
Hi, I am creating a folder through php code. but the permissions for that folder is not setting. I identified the problem is apache is different usergroup,FTP is different user group. so i want to know how can i change user group of apache. or how can i add apache,php … | |
Hi! I'm new with PHP and wondering if anyone here knows how to configure it in winXP..Thanks! | |
Hello everyone, I got the warning below as I was using a 'register' page, Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() I would like to know how to setup a local mailserver, just for … | |
For instance I want to implode these strings and prevent bad print $a = "Apple in pesian( "; $b="سیب"; $c=")use as a medicine for all illnesses"; print implode( " ", array( $a, $b, $c ) ); It's bad print // use as a medicine for all illnesses( سیب )Apple in … | |
Hello, I was wondering if someone could point me in the right direction. Is their anyway in php that I can change the outlook of an xsl file and include variables from my php script. I have an xsl file, I changed the file extension to php and it worked … | |
Anyone know how to get HTML code from the URL in php? | |
[code=php] <?php if ($id == 1 && $lang == 1) { echo "hello"; } ?>[/code] hey guys i am working for my final year project. i have a problem. when i tried to run this url on my pc [url]http://localhost/filename?id=1&lang=1[/url] it wouldn't work.... but when i tried this on my … | |
Hello, please I need help with this problem. I am writing a web project using PHP. I have developed a wsdl for this project. Whenever I send a request from my cliet side, the server script handles it appropriately by calling the relevant function. However, the script returns null values. … | |
Suppose i upload a word file and see it html view. How it is possible in php? | |
How can I use variable from the outside of the class? For example: [code] <?php $outside = 'Hello'; class A { function printme() { print $outside; } } $cls = new A(); $cls->printme(); ?> [/code] How can I do it? please :D | |
I'm trying to learn php and I'm trying to build a simple form that stores data. However, I'm getting this error message when I submit my form: Parse error: parse error, unexpected T_STRING in /sites/yuma2/swaters210/home/public_html/music/music.php on line 7 you check out my form here: [url]http://www.stevenwaters.net/music/index.html[/url] [code] <? $artist=$_POST['artist']; $song=$_POST['song']; $album=$_POST['album']; … | |
[CODE] <?php if (!$_GET['p']) { include "header.php"; echo "<br/>"; include "home.php"; } if ($_GET['p'] && $_GET['p'] == "home" || $_GET['p'] == "pricing" || $_GET['p'] == "portfolio" || $_GET['p'] == "order" || $_GET['p'] == "contact") { include "header.php"; echo "<br/>"; include $_GET['p'].".php"; }else { include "error404.php"; } [/CODE] The above code … | |
I am new on PHP proramming. I want to use mail() function to send mail. In my Pc there is no mail server. I have confiure my php.ini file that is - SMTP = localhost, smtp_port = 25, sendmail_from = null, sendmail_path = null. But I can not send mail. … | |
i am having trouble with uploading, when i upload big size file like >2M it hang the browser and show blank screen and file does not get upload. upload_max_filesize is set 8M also added set_time_limit(0); in my script But same thing on local network works file, seems problem in more … | |
i am littel new to this flied i need your littel help i got my database in my local pc at home and i want to use this database from remote place so is there any way to do this??? or any tutorial or some reference waiting for your reply … | |
Hi I am php newbie and I don't know if I am approaching this properly. I need to creat a scheduler that list the appointment time on the left and client for a specific appointment time on the left. NOTE: The appointments are stored in a Mysql database This is … | |
Hi all, I've just spent the last hour or so reading the posts relating to phpbb v vBulletin here. The main issues everyone seems to have with phpbb are security/spam related. I have phpbb installed on my website and I have added a ton of mods to it so that … | |
Hi. I'm currently trying my hands on PHP and MySQL. I understand how to retrieve results from SELECT statements in PHP? However, I'm not exactly sure of how to do it when a procedure call is made e.g. [code] [COLOR=green]$query[/COLOR][COLOR=green] = [/COLOR][COLOR=green]"CALL mach_validity([/COLOR][COLOR=green]$student_id[/COLOR][COLOR=green], @result)"[/COLOR][COLOR=green];[/COLOR] [COLOR=green][B][COLOR=green]if[/COLOR][/B] ([COLOR=green]$result[/COLOR] = [COLOR=green]$mysqli[/COLOR]->query([COLOR=green]$query[/COLOR]) { [B][COLOR=green]while[/COLOR][/B]([COLOR=green]$row[/COLOR] … | |
Hello I want to pass the database retrieved username after user logs on & hence to check login correctness I am using php & jsp [code=php] <?php $conn= mysql_connect("localhost", "root", ""); if(!$conn){ exit("Error in SQL"); } mysql_select_db("college", $conn); $val1=$_REQUEST['login1']; $val2=$_REQUEST['password1']; $sql = "SELECT * FROM tlogin WHERE tid='$val1' AND tpasswd='$val2'"; … | |
I would be grateful if anyone could help me i need a reviews and a news script for my gaming website written in php and sql i want a reviews,and a news script. i mean i want a script that will allow me to add reviews and some other editors … | |
Hi, My question is: which config variables in [B]PHP.ini [/B]must be set in order to show graphics? If anybody can tell me something about these settings I will be very thankful. Regards, Iliana | |
Anybody can pls tell me where we can use curl in our web applicaion ? want one example ..where we can need to see files from other websites ? | |
Hi all, I'm having some trouble getting my php code to work properly. I'm submitting three different variables from a vxml form to my php. I then need the php to deposit the variables into files and update a mysql database accordingly, but it's not quite doing what I want … | |
i am opening a file using fopen() and that works fine. from there i want to print out the contents of the file....cant seem to get it to work. here's what i've tried so far. [code=php] $file = fopen("order_log_text.txt", "r+"); echo $file[0]; /*foreach ($file as $field) { echo $field; }*/ … | |
Hello all I am trying to generate a PDF file and then edit it from the PHP script. Tried the example given in the manual......but facing a fatal error [B]Fatal error: Call to undefined function pdf_add_outline()[/B] so i tried [B]pdf_add_bookmark[/B] for bookmarking instead of pdf_add_outline() but of no use... can … | |
Hey how is everybody doing today? I am a noob in php (i actually just wrote my first php script yesterday) but I am running into a problem. I have a .php file and when I go to it on firefox it tries to either open with a program or … | |
HI ALL DOES ANYONE KNOW TAHT [url]http://www.ebazar.am[/url] IS RUNNIG ON WHICH SYSTEM OR DOES ANYONE KNOW ANY FREE SYSTEMS LIKE THIS. Thanks |
The End.