39,323 Topics
| |
Hi , everyone, i am new in web design and i have a liitle problem with my registration form.I have one php file which have the html code and the php and anothe with jquery. PHP code is for checking and enter the data in mysql table. The jquery code … | |
I am looking for a code that cane enable a a lock image on a locked account eg1 showing a lock on an enllroment account of a certain course when registration time has erapsed to show that students can no longer register for that course then remove the image when … | |
Sorry for posting again. :| I'm working on this simple evaluation system for our final requirement in this subject. it's working now. my problem is I want to have an error checking ([I]if it's the right term for that[/I]). if they leave one textbox blank? the flow will be, if … | |
hi i have a project that will send sms to its subscriber but ive look everywhere and could no get a good answer. my project will be in php and im just wondering is there a software that i can install on a pc and hook a gms modem with … | |
Hello When I normally write classes and then use them, I'd use this: [code] $site = new Site(); $site->load('header'); [/code] But I've seen people do this: [code] $site = new Site(); $site->load->header(); [/code] How do they do it? Confused | |
I write an upload image script to my local server it works but when i upload online it did not but it display 0 as $_FILE['filenam']['error'] this is the code send me answer please to my email <<snip>> or reply here $target_path='../uploads/'; $_passport_path=$_FILES['passport_file']['name']; $_pp_type=&$_FILES['passport_file']['type']; $_pp_size=&$_FILES['passport_file']['size']; $_maxima_size=30000; if(($_pp_type=='image/jpeg') ||// ($_pp_type=='image/gif') || … | |
Hello I am in a bit bother at the moment, I have an application where I add a contact and at the same time I upload an image to the images directory. Basically I have a feature where you can delete a contact and what I want to be able … | |
Hi i want to echo session but it gives error...code is [CODE] session_start(); if(isset($_GET['P_Price'])) { $_SESSION['Price'] = $_SESSION['Price']+ $_GET['P_Price']; $_SESSION['Items']++; " <div class=\"shopping_cart\"> <div class=\"cart_title\">Shopping cart</div> <div class=\"cart_details\">Items echo $_SESSION['Items']; <br /> /// this line has error <span class=\"border_cart\"></span> Total: <span class=\"price\">echo $_SESSION['Price']; </span> ////this line has error also </div> … | |
hi i have one page where i will get Categories of Products and i want to make session of those Categories..But when i referesh page session break...my code is.. [CODE] session_start(); $_Session['P_Category'] = $_GET['P_Category']; ////line 8 $P_Category =$_Session['P_Category']; $query = "select * from tblProducts_info where P_Category = '$P_Category'"; $result = … | |
Hi again. I have a project that gets from mysql the data that i search. Until 10 minutes ago, the results could not display me correctly the Greek characters from mysql. The search system searches the title of the item which contains English and Greek characters. I solve this problem … | |
Hello guys, Am working with Joomla component building in the administrator section.I have created a component named "com_lessons" inside the component folder..k?so what should i need to know is how can i access that component ?ie,the URL to access that component. I have tried this URL "http://localhost/Joomla/administrator/index.php?option=com_lessons" but it is … | |
Hi, I have an odd error in my logout.php file maybe you can help me. I have this in the start of my file: [CODE]<?php include('../config.php'); session_destroy(); session_unset(); ?> [/CODE] In config.php I have session_start(); A little down in the page I have this: [code]<?php echo 'Logged out...'; echo '<meta … | |
Hello to Everyone, I m involving in social networking website in php.Can anybody help me for building add friend system in php? | |
Hi all, So I launched a clients website using Wordpress and for whatever reason they seem to be encountering this issue whereby they cannot login. The issue is baffling as no changes were made but i get this message when trying to login through wp-admin <strong>Warning: Cannot modify header information … | |
Hi! I want to check if some file on some other server exists. I have this code (but something is wrong with it): [CODE]<?php $notworking=array(); $false=0; $link="http://uploads.mp3songurls.com/"; $files=glob("genre/*.xml"); foreach($files as $file){ $xml=new SimpleXMLElement($file,null,true); foreach($xml as $info){ if(fopen($link.$info->link.".mp3","r")==false){ $false++; $notworking[$false]=$info->name." => ".$info->author; } } } if($false>0){ $file=fopen("notworking.txt","w"); for($i=1;$i<=$false;$i++){ fwrite($file,$notworking[$i]."\r\n"); } fclose($file); … | |
Hi, a bit of a long title to this thread, I know, just trying to make it obvious. lol Anyhow, I am building a Twitter widget for my own website and have got really stuck on one aspect of it, namely the 'source' i.e. which application the 'user' used to … | |
hi,i am new to daniweb,glad to be a member of such wonderful community, what i am trying to build a google map where user can find a train location by entering the train name into the search box. i have two php file one is gmap.php which is outputing the … | |
Hi! This is my problem. If I write letter č or ć in textarea, and then if I use php to check if there in textarea is letter č or ć, it doesn't work, here's code: [CODE] <?php if($_POST['sub']){ $tekst=$_POST['tekst']; $array=array("č"); //& # x 010D iz unicode for č, i … | |
hi i am trainer in php, in interview the first question is What is the difference between php4 and php5? Please tell me how can i answer for this question | |
Here is the scenario... I submitted a form using post method. It will not yet save the data to the database. Instead, the post data will be redirected first to a page to view input results. Then if the user is satisfied, then thats the time to save the data … | |
how can i get the ip address of the user on my email while the user clicks the submit button anyone could help me | |
Hi I'm not sure wher I am going wrong. I've borrowed some code and tweaked it. The database table consists of id,dates,day,type,. The form brings up the mutiple enteries to edit, but when the submit is pushed it refreshes with the original information. i've checked the databse and that remains … | |
Hi. I'm new here and I'm new into coding so i have question. Where i can get Simple Php website with login and singup function. I was search in google.com but i don't find nothing what would be good enought.And i don't whant build it my self, becous i can … | |
i am searching for the good program of FDF TO PDF FROM FILL ON WEBSITES AND STORE IN DATABSE, ANYBODY GIVE ME STET BY STEP PROCEDURE | |
I'm trying to make a price calculator for my friend's car shipping company. It seemed like a simple thing to do but with my skills I'm having some problems. The calculator takes the distance from zipcode 1 to zipcode 2, and mutplies the total miles by .32 to get the … | |
This is a redone post as my last one contained all of my code and I wanted to simply for the post. Here is what I am doing: I show the categories that the user has placed a referral in on the page "my_categoreis.php". The user then can select a … | |
Hi all, I have a cruise website which contains information of many cruises such as number of cabin, number of beds in cabins, number of floors, price for each cabin type... I want to create a comparison chart/file online where I can compare the cruises to find the most suitable … | |
Hi, I have found this forum very useful so far so I was hoping someone could offer me some help again as I have run out of ideas. Basically here is my code: addcontact.php [CODE] </head> <body> <div id="container"> <div id="header"> <table width="980px"> <tr> <td align="left"><img src="images/lcaclogo.gif" width="100px" height="100px"></td> <td><h1>LCAC … | |
I would like to know if it is possible for someone to fill a form on my website, but instead of sending it to a email or database, simply print it? Because we can't handle credit cards here, and I want people to fill in the form, print it, and … |
The End.