39,393 Topics
![]() | |
how to detect ip that converted to a region name.. any free code? coz i found it's commercial code while i'm trying to googling.. thanks | |
Hi frnds.... In my hosting server they didnt set the SMTP properties perfectly....So, i used the below code...but, this working from last 1 month.but,unfortunatley this code not working from last couple of days..I am getting error...plz check the below code & error message.... [CODE] $to = "TargetName <abv@xxxx.com>"; $host = … | |
I have never used ftp in PHP, but now I 'm there. And I cannot figure out what content I should give to the string "$ftp_server" in ftp_connect($ftp_server). I would appreciate some advice. | |
Hello, I was wondering if I could clarify some recent information I have found on the internet regarding PHP security. Im a self taught PHP/MySQL amateur and therefore have a very skethcy knowledgebase of the coding. lol Im currently developing a website and would obviously like to ensure its as … | |
Hey, I'm working on a College project that means you have to re-do the database each time you work on your assignment. So, what I'm hoping to create is a file called "sql_connect.php" which will check if the table is there, if not.. It will run the function that creates … | |
Hi! I searched but no luck :S anyone can help me.. i want to fill a table with 3 collumns and [I]n[/I] Row's, with all my database latitude and longitude parameters and date from when it happen... i think i need to make it with a [I]for[/I] .. but i … | |
![]() | I was wondering if there was a way to only allow myself to access certain pages on my website? Is there a way to do this by using my ip address? And if someone with a different ip try's to access the page they are denyed or forwarded back to … |
i know not a single word about how to design a website and i dont know any language may any one can help me[code][/code] | |
Hey, what I'm trying to do is create a mysql_connection script that includes a exception handling statement that trys to connect to the database and the table, if one isn't created it goes to a file and the database information is stored there. <?php // this file contains the database … | |
hi all, i am developing a newsletter module for my site,previously i used a specific newsletter added by admin (using wyswyg) and it is inserted in database and like that admin can send newsletter of his type to n number of users at a time. now i want to change … | |
Hi there, for the life of me I can't work out what is wrong with this script, but when it runs I get this message. Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in.... [CODE] <? $q6 = "select * from banners where lang = \"$_SESSION[lang]\" and section … | |
I am sending a text from a .js file to a .php file using POST. Since the text contains special characters i have to use escape() in the javascript file and convert the text. Is there I can get back the original text in the .php file ? Some php … | |
[QUOTE]hi friends i have facing a problem [CODE=php]<? define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'lang/'); define('DEFAULT_LANGUAGE',''english); ?>[/CODE] these are code use in configure.php it is use in index.php with following code[CODE=php]<? include_once(DIR_WS_LANGUAGES.DEFAULT_LANGUAGE.'.php') ;?>[/CODE] now i want to use this with select language i select language [CODE=php] <? if(isset($_GET['flag'])){ if ($_GET['flag']==po){ echo … | |
Hi all, The following code should link 2 tables, showing: student id, surname, firstname, study type, start year. However, its not :-). its just a white screen. ive got php5.ini with ERROR_REPORTING (E_ALL); in it but im still getting nothing at all. The tables definitly exist! have i missed something … | |
Hello Everyone, My mailer keeps sending duplicates & I can't find the problem in my code. I would appreciate it if someone could look it over & point out the problem. [code=syntax] <? if($action == "mail") { $success=0; $failed=0; $headers .= "From: Golden Planet Clubs PTC Admin <admin@ptc.goldenplanetclub.com>\n"; $headers .= … | |
Hi friends.... I need to learn Smarty for my next project... Plzz tell me , some good tutorials/free books... for smarty template engine, developement in coding.... If any body having softcopy ,plz send me as attachment... Thanks in advance... Saritha K | |
hello.. may i seek ur help.. i have this problem of coding a library system using php.. is there anyone here know how or already have the codes? i need two log in, one for the borrowers and one for the admin. then registration is also needed. it should also … | |
Good to be here. On my computer system, i want to use apache program so that i can make my computer a server. Now after doing that and as well installing PHP, it will be reporting error. i think the problem is on configuration. Plz can any body help me … | |
hi frnds.....when ever i select some lines that lines will automatically copy with out using 'ctrl+c'. so how to do? | |
What could make a query run fine from the command line and return the expected results, but not return results when run through the page? I get no syntax errors, just a warning for the fetch_array. It all looks good to me, I'm stumped. I echoed all the variables immediately … | |
on the bottom frame is menu.html [CODE]<body><form action='link.php' method='post' name='changer'> <label>URL <input type="text" name="url" /> </label> <label> <input type="submit" name="Submit" value="Submit" /> </label> </form> </body>[/CODE] on the top frame is link.php [CODE]<?php if (isset($_POST['url'])) { header("Location: " . $_POST['url']); } ?> [/CODE] the problem is when i enter a url, … | |
Hi! Is it possible to refresh only a <script> and not all the page?! i have a <script> that displays google maps... and i show it on my page with other material.. i just wanted to refresh that script (google maps display), and not all the page... i did it … | |
Hello! I was wondering if it were possible for me to have a PHP script which would send a line of charactors to my C++ program. The C++ program needs to run all the time to recieve the inputs from PHP. Both the C++ program and my webserver is on … | |
Hi All, i am trying to write an application that will take an XML file that has been saved from an XLS spreadsheet and display the data. I will be ok with how to display the data i just dont know how to get the data from the XML. I … | |
Hi, My install file is not creating all the tables- it's only creating the " abuse_report" and not any of the others. Can someone give it a look see? Or can someone tell me how to put the tables int a sql file that I can just upload instead? [code=syntax] … | |
Hi, was wondering if someone could point me in the right direction. I am currently making a php/html registration page for users in dreamweaver and I want them to check a radio button to confirm they have read the rules, like so. [code]<input type="radio" name="rules" value="radiobutton"> <p>I confirm I have … | |
Hey there, I'm new to php, but have been using a book to guide me through the code. I have created an order form and have run into this: Parse error: parse error, unexpected T_STRING in /home/content/a/r/t/artdezign/html/new_order/pages/orderreceived.php on line 5 Here is the php code I have used in my … | |
How to limit access on my page to unregistered visitors? Like that they can't open forum or users profiles? | |
One of the guys here were nice enough to help us put together a javascript code that displays dynamic information. [CODE]<div id="info"></div> <script type="text/javascript"> var request if(window.XMLHttpRequest){ request=new XMLHttpRequest() }else if(window.ActiveXObject){ request=new ActiveXObject("Microsoft.XMLHTTP")} request.open('GET','http://ourwebsite.com/index.php?get=1',false) request.send(null) document.getElementById('info').innerHTML=request.responseText </script>[/CODE] The problem we are having now is that it does not show the … | |
hi all im trying to find out where the hack php5 is installed on my computer.. its not on /usr/bin/php5 im trying to run a php script with the ./ command. i searched php5 on my computer and enter this code at the begining: [code] #!/etc/php5/apache2 [/code] etc... allways get … |
The End.