39,326 Topics
| |
Hi all, I had two website in different servers. Both website had same headers. so if login one server website and going to another website i want same session in this website. how to pass the session values to this server. And also if logout server means both servers sessions … | |
in a site http://www.example.com/ there are files one of them is called images that contain images when I try to access http://www.example.com/images/ , although the address is 100% true , I get a white blank empty page why??? and how to get the content of http://www.example.com/images/ | |
I have a names database with only 4 fields (Sex, Origin, Meaning, Starts With) and html search form for those same 4 fields. Can anyone give me the php code so that if anyone fills in any or all of the form fields, the results from the database will be … | |
Hello Daniweb members. Im looking to create a script which checks the current date and time (of web server to ensure a pre-set time zone) and display a message. *What i'm aiming for the script/s to do. *Check current date and time *If day = eventDay BUT time = before … | |
so i found this script which is perfect.. it loads all my content from my ftp and randomizes them.... BUT you always have to refresh the site.. my question now is.. how can i add a fixed frame or just a button which allows me to refresh the pictures instead … | |
I have the following code which I use in PHP-Liquid template engine. I want the ability to add or delete rows trough phpMyAdmin instead of adding/deleting new arryas. So I need to use MySQL, but how should I proceed to work it out with my example? $assigns = array( 'blog' … | |
Hello ! How can i submit a form but remain on the same page : <form enctype="multipart/form-data" method="post" action="script.php"> ----- ----- </form> it goes to script.php thank you. | |
Hi Master, please help me, i could not insert my multiple checkbox selected value into my table. please see and help me. its insert only one value like first one. here is code: **HTML code: ** <td width="75%"> <input type="checkbox" name="whats_include[]" value="Breakfast" > Breakfast / <input type="checkbox" name="whats_include[]" value="Lunch" > … | |
Dear Sir, I have following codes <?php $var2=""; $name=""; if (isset($_POST['button1']) && !empty($_POST['text1'])) { $name=$_POST['text1']; if ($name=="1") { $var2="1"; }else{ $var2="0"; } } ?> <html> <head> <title> First form </title> </head> <body> <form name="aa" action="textboxes.php" method="Post"> First<input type="text" name="text1" value=""><br> Second<input type="text" name="text2" value="<? echo $var2; ?>" disabled><br> <input type="submit" … | |
Hello guys, i have been away in the last few days, because of work, so i am on again. I am trying to ping a series of hosts and then add info about the ping in a row. I have a DB called ad, with a table called ping with … | |
Hi guys, Am using RedBeans ORM in PHP, Today only am going through the RedBeans ORM, i think RedBeans is the Very simple to manage database. But am getting doubt at which is better to use either rows(queries) or beans. `$sql = 'SELECT author.* FROM author JOIN club WHERE club.id … | |
Hi, I am trying to make a smime pk7s file using openssl and send the attachment as an email. I am trying to encrypt a file with a public key and and sign that file. I am using makemime library for the enryption of my xml file.I want to create … | |
please tell me how to create and code too. | |
I'm working through a little [TimThumb](http://www.binarymoon.co.uk/category/web-design/timthumb/) example, but I can not get through the first basic tutorial because I do not have a good grasp of PHP. Using this image file: http://i.imgur.com/OCxHpUA.jpg I want to plug that into my TimThumb php script and see the output, but this code is … | |
i would like to develop a chatroom with video calling so help me. Is there any function to call the webcam on page?? | |
i want to creat a post script to auto insert new codes on my site when a member post a picture or video buth it dsnt seem to be working just like posting coments and suggestions in a forum | |
Hello ! i'm working in dreamweaver , and i have 2 lines : $part="..\fl1\"; echo "OK"; Dreamweaver produce an error in second line. if i change the first line to $part="..\fl1" everything is ok. what is the problem with the \ character at the end ? thank you. | |
Dear Sir, I have following code <html> <head> <title>Javascript function </title> <script type="text/javascript"> function hello(){ var xx=eval(form1.text1.value); var yy=eval(form1.text2.value); if (xx>0 && xx>yy){ alert("Amount 1 is greater") form1.text3.value=("Amount 1 is greater") }else{ alert("Amount 2 is greater") form1.text3.value=("Amount 2 is greater") } } </script> </head> <body onload="form1.text1.focus()"> <center> <h1 style="color:#2c80d3 ">Javascript … | |
$newtypeid=$_REQUEST['newstype']; $action = (isset($_REQUEST['action'])&& $_REQUEST['action'] !=NULL)?$_REQUEST['action']:''; if($action == 'ajax'){ echo "newtypeid is".$newtypeid; -------------- //some stuff here } How to get $newtypeid value inside if statement. | |
Hi all, I am trying to connect to a remote server, I am using the IP address server name and folder to connect, not sure if ths is working? I am aslo getting an error on the final foreach loop (`foreach ($files as $file) {//print array`) Warning: Invalid argument supplied … | |
Ive tried everything, even typing the whole thing again from scratch but it doesnt seem to work. Please help about the error on line 9. Coding below: 1. <?php 2. $name = $_POST['name']; 3. $surname = $_POST['surname']; 4. $company = $_POST['company']; 5. $email = $_POST['email']; 6. $contact = $_POST['contact']; 7. … | |
hi how can i fetch data from the database and stroe it into session variable. my code: $sql = "SELECT password, fullname, username, active FROM ".$mysql_table." WHERE (username = :username OR email = :username) AND password = :password"; $statement = $pdo->prepare($sql); $statement->bindValue(':username', $_POST['username']); $statement->bindValue(':password', md5($_POST['password'])); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); if … | |
Hello, I have a form that retrieve the data from the database, which it depends on the expenses ID, then I want to send email to the employee to notification him that his expenses claim has rejected. The problem is on the phpmailer that does not take the value of … | |
Hello I would like to know how can we make speech to text PHP based application. Any API reference and tutorial. | |
Hy my apache2.4.6 is not reading htaccess files My 000-default.conf file is <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # … | |
Dear Sir, I have modified your codes once again as <?php if (isset($_POST['button1'])){ $name=$_POST['text1']; }else{ $name=""; } if ($name) { echo 'My name is ' . $name; }else{ echo 'No name entered'; } ?> <html> <head> <title> First form </title> </head> <body> <form name="aa" method="POST"> Name <input type="text" name="text1" value=""> … | |
Hello ! i want to create an input form with these fields : Name ------ Age------- Photo --------- <Browse file Button> <Submit button> After the user press the browse button and select a file i want to display the path. After the user press the submit button i want to … | |
I have opencart 1.5.6 with Swedish language file I get an error code when the customer should register an account 2013-11-16 14:54:16 - PHP Warning: Can not modify header information - headers alreadycreated late by (output started at / customers/1/b/6/mittföretag.se/httpd.www/catalog/language/swedish / account / register.php: 1) in / customers/1/b/6/mittföretag.se/httpd.www/system/engine/controller.php on line … |
The End.