39,393 Topics
![]() | |
I need a php script if I were to see the page It would read specific country | |
i have register a domain on domain.com and setup my own name servers e.g ns1.mydomain.com ns2.mydomain.com but when i access my page it shows me the following error..... Great Success ! Apache is working on your cPanel® and WHM™ Server what should i do next i have never install any … | |
Hey guys, i am currently working on a project. It's a web application for registering the amount of time an employee has worked. I have written the web app for adding a new employee and for adding a timestamps( e.g work done). Now my problem is like this i need … | |
i keep getting this i cannot see the problem i have looked Parse error: syntax error, unexpected T_STRING in /home/wwwmmsw/public_html/includes/languages/english/contact_us.php on line 15 [code=php]<?php /* USERCART 2 Lithium [url]http://www.usercart.co.uk[/url] Copyright (c) All right are reserved 2001 - 2009 USERCART ECOMMERCE [email]sales@msweets.co.uk[/email] */ define('HEADING_TITLE', 'Contact Us'); define('NAVBAR_TITLE', 'Contact Us'); define('TEXT_SUCCESS', 'Your … | |
I now how to make a profile but how to make for every user when he logs to view button my profile and takes them to their profile. | |
Hey guys, I have a problem. I have a connections_lib.php file this will handle all of my db connections, this works AMAZINGLY (power of OOP). Unfortunately some of my other classes require connection to the databse therfore they must use these methods (is that the right word for OOP I'm … | |
Why it won't send this to mysql.Connection is ok.Here is the code. [CODE]<?php $connect = mysql_connect ("localhost","root","") or die (mysql_error()); mysql_select_db ("login4") or die (mysql_error()); session_start(); $_SESSION['username']; $username1 = $_SESSION['username']; $username = $_POST['username']; $submit = $_POST['submit']; $micro = $_POST['micro']; if ($submit){ $queryreg = mysql_query(" INSERT INTO messages VALUES ('','$micro','$username') "); … ![]() | |
hey,,, i am have a project to do a web Statistics website like Alexa ; what i need is a way to get all needed information to save it in my db ; i will use PHP with javascript to implement this ; what data i want to retrieve : … | |
we have just started learning PHP as a course in our 2nd year subject Internet Application development. below are the codes that we have worked on so far. [B][U]Homepage :[/U][/B] [code=html]<HTML> <HEAD> </HEAD> <BODY bgcolor='yellow'> <P align='center'><FONT color='blue' size='6'>ABC & Company</FONT></P> </BODY> </HTML>[/code] [B][U]Login.php :[/U][/B] [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
I have a code to detec backlink from yahoo and google like this : [CODE] function google_backlink($uri) { $uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri)); $url = 'http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=link:'.$uri.'&filter=0'; $v = file_get_contents_curl($url); preg_match('/of about \<b\>(.*?)\<\/b\>/si',$v,$r); preg_match('/of \<b\>(.*?)\<\/b\>/si',$v,$s); if ($s[1]!=0) { return $s[1]; } else { return ($r[1]) ? … | |
Hi all, I am trying to get a grasp of web form data getting passed to PHP, then dumped into a SQL Database (2005). I have created the form in html. but because the form is an employee application there are a lot of text boxes, radio button, etc etc. … | |
I wish to limit uploading to the video files swf pps bmp pps png gif mpg mp3 and wav - i'm sure I have the file / type incorrect. can someone please give logical solution... here's my code: [code=php]<?php if ((($_FILES["file"]["type"] == "video/swf") || ($_FILES["file"]["type"] == "video/pps") || ($_FILES["file"]["type"] == … | |
I am getting an error message on this php script and am a total loss as I am a complete novice and have no idea. Can someone give me some help? here is the error and also the code. Parse error: syntax error, unexpected T_VARIABLE in /home/content/m/i/x/mixxsalon/html/FormToEmail.php on line 1 … | |
Hi guys I am very new to php and am trying to create a small content management site. Hopefully I will have posted this correctly, sorry If I have missed anything out. I have a self referencing form, which allows me to enter a file name and browse to a … | |
okay so i am doing a program that lets you type a name of a friend in and submit and it will display a picture of that friend but my output wont show the picture, it will have some type of error. if you look at the picture attached that's … | |
Hi, I was wondering how you keep a navigation menu up-to-date on a 200 page website. When I first started using HTML I used an iframe which it is a [I]terrible[/I] idea. Now i am using PHP (im using include). But i am guessing this is also very inefficient. SO … | |
i have to call Mysql Procedure from Php... I dnt know how it is work..!! Waiting for positive reply..!! :) | |
how do you do this with tables? I prefer table not frames. below works but the whole page goes to the other website.. when i just want to view that website in the table cell. [code]<?php if (isset($_POST['url'])) { header("Location: http://" . $_POST['url']); } ?>[/code] i don't think iframe will … ![]() | |
Hi Brothers, I m completely new at PHP, i dont know anything about php but from different sites i have come to know that i can redirect my unfriendly url to friendly urls. so i have started a short project but i dont know how to make url writing plz … | |
Hi all! Сonditions of a problem: 1) in one form post info and upload file 2) validation only php without js 3) associated fields: if the value is not the same, we don't need to validate field 4) associated fields: if the value is the same, we need echo new … | |
I need help to make an included template to appear only on two pages and not on other pages of a photo album. Can someone help me out on how to use the "elseif" statement to accomplish this? Right now template file appears on every page, which is not what … | |
[CODE] Newbee in php Below is my table and script, I know it should change the password I am using a registration application the password is saved in this manner 1d7d2fcc49f157c0be4456580011a58d469c71b6 I could not make out if this is a md5. I echoed the php, the password i type in … | |
i want to host my own site on localhost.......i want to create my name servers......... 119.152.60.26 is my ip address how can i set my name servers that is ns.mysite.com ns2.mysite.com or any thing else.............. i am using wamp on window xp............. waiting............... | |
[B]You don't have permission to access /directory/admin/import_listings.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/B] I got this error while upload the fields of content to database... Anyone cross this error... Advance thanx... | |
i got a phpcode as ill like to have as a javascript code if anyone can help me... Php code: [CODE]<?php $now_ho = date("H"); //Daytime(6h~19h) if ($now_ho < 19){ if ($now_ho >= 6){ $vwimg = "hh_entry_oc1"; } } //Night (19h~6h) if ($now_ho <= 24){ if ($now_ho >= 19){ $vwimg = … | |
Hi All, I have been using netbeans for long now and it is somehow good. But I saw Aptana and was attracted. But I failed to Install PHP support with its new PHP plugin (Actually it is PDT). It throws errors and Have tried to check on Easy eclipse. It … | |
Hi All, I need to upload image to site for my CMS. I use Ckeditor, improvement of FCKeditor. It is great editor but have no upload plugin (they say we should wait until version 3.1). There is ibrowser which have an issue with deprecated eregi() function (caused me to leave … | |
I have this 3 file for small chat and it works without database. But i was trying to connect to my database and use my users. Index.php [CODE] function createForm(){ ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <table align="center"> <tr><td colspan="2">Please eneter a nickname to login!</td></tr> <tr><td>Your name: </td> <td><input … | |
Hi, I want to pass the parameter of employee_id to a page. My code is working fine and passing parameter to page but the problem is rather then the current parameter , It is passing the previous parameter which was selected in previous submit. Below is the code. [CODE]<form action='manager_employee_select.php?proc_employee_id=<?php … |
The End.