39,320 Topics

Member Avatar for
Member Avatar for eltonpiko

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 …

Member Avatar for eltonpiko
0
308
Member Avatar for phorce

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

Member Avatar for kaisarkhan87
0
91
Member Avatar for jimobama_tech

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') || …

Member Avatar for kaisarkhan87
0
115
Member Avatar for chris_j_haines

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 …

Member Avatar for kaisarkhan87
0
142
Member Avatar for Farhad.idrees

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> …

Member Avatar for mamdouh ramadan
0
112
Member Avatar for Farhad.idrees

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 = …

Member Avatar for mamdouh ramadan
0
96
Member Avatar for Punkis448

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 …

Member Avatar for mamdouh ramadan
0
139
Member Avatar for youvi

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 …

Member Avatar for ko ko
0
77
Member Avatar for rahulvramesh
Member Avatar for cipcip

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 …

Member Avatar for ko ko
0
134
Member Avatar for abhinav bagora

Hello to Everyone, I m involving in social networking website in php.Can anybody help me for building add friend system in php?

Member Avatar for cereal
0
149
Member Avatar for Graycode

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 …

Member Avatar for Insensus
0
287
Member Avatar for ivan3510

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); …

Member Avatar for ivan3510
0
209
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
0
177
Member Avatar for mualanj

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 …

Member Avatar for vibhaJ
0
180
Member Avatar for ivan3510

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("&#x010D"); //& # x 010D iz unicode for č, i …

Member Avatar for ivan3510
0
260
Member Avatar for rohoni

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

Member Avatar for rajeevbu
0
511
Member Avatar for rakwel10

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 …

Member Avatar for IIM
0
89
Member Avatar for extemer

how can i get the ip address of the user on my email while the user clicks the submit button anyone could help me

Member Avatar for anandgodar
0
678
Member Avatar for encodeme

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 …

Member Avatar for IIM
0
2K
Member Avatar for blaaam

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 …

Member Avatar for G&G Designing
0
185
Member Avatar for bewithme465

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

0
41
Member Avatar for ionko

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 …

Member Avatar for ionko
0
251
Member Avatar for l0ns008

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 …

Member Avatar for l0ns008
0
192
Member Avatar for darianculbert

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 …

Member Avatar for adkhan
0
70
Member Avatar for chris_j_haines

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 …

Member Avatar for ddymacek
0
187
Member Avatar for riseguim

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 …

Member Avatar for riseguim
0
143
Member Avatar for Deepali_Jain

I am trying to run the following perlscript from php page. But unfortunately, it failed without giving any error. exec("PERL C:/Program Files/Zend/Apache2/htdocs/Scripts/test.pl"); But when I am trying the same perl command from command line interface, it runs successfully. PERL C:/Program Files/Zend/Apache2/htdocs/Scripts/test.pl Can anybody advise, where i am making mistake? I …

Member Avatar for Insensus
0
137
Member Avatar for cgull

Hello, As much as I try I can't totally understand how to use preg_match. I have downloaded an open source system from the internet that I want to use, but they use ergei in their code. When I change it to preg_match I get all kinds of errors. Can someone …

Member Avatar for cgull
0
142
Member Avatar for shapam

The End.