39,326 Topics
| |
so i have this mini project to make i'am thinking of making a website just like grooveshark basically what i want in my website would be :- A LIBRARY OF SONGS PLAYER ON WHICH ONE CAN LISTEN DIFFERENT SONGS USER CAN CREATE HIS PROFILE AND CAN MAKE HIS OWN PLAYLIST … | |
How do i add variables from $var1=urlencode(''.$var1.''); on page one.php and use the values from the above variables on page two.php $var1 = $criteria['".$var1."']; if($var1=='') $var1 = ''; Page two is included in page one and I am trying to use the same variable value. | |
Can somebody help me to create an appointment scheduler with php/mysql that automatically create appointments. | |
Parse error: syntax error, unexpected T_DNUMBER in D:\InetPub\vhosts\xdran.com\httpdocs\settings.php on line 7 heres my configuration <? error_reporting(E_ALL ^E_NOTICE ^E_WARNING); $web['connection'] = 'mssql'; $con = mssql_connect("203.143.82.98:1433","sa","z09184049210); //$mssql_server = "203.143.82.98"; //MSSQL server name or IP //$mssql_username = "sa"; //MSSQL username //$mssql_password = "z09184049210"; //MSSQL password $web['database'] = 'Rancp'; $web['database'] = 'RanGame1'; $web['database'] = … | |
How can i make a jquery timer that each 3 seconds triggers a php action? | |
How can i replace :), :-),O.o or B) in my a file, that is used to display chat content, by an image. Here is my code: <? session_start(); if(isset($_GET['logout'])){ $ip=$_SERVER['REMOTE_ADDR']; //Simple exit message $fp = fopen("log.html", 'a'); fwrite($fp, "<div class='msgln'><i>User ". $_SESSION['name'] ." has left the chat session.</i><br></div>"); fwrite($fp, "<!-- … | |
I have the following code. I wanted to determine if the value inputted in $cellno (from a textbox) are all digits (numbers), and if it's 11 numbers, and if its starting numbers are "09". One correct value example is 09345678910. It is all numbers, has 11 digits, and begins in … | |
Hello, I am clueless on how to separate the value of a HTML TextBox into separate characters before inserting into database. The user will key in certain form of code in the textbox. EG:JYX. The code needs to be separated and assigned to variable for each of the character before … | |
| Hi I'm having issue with editing the **Input Type** in **2** different position. I want to edit and add input text in the img. I also want to edit and add input text in the content. What I want to learn is how to add **2** **Input Type** areas in … |
Hi everyone, I'm sure this is a simple fix but it may take a minute to understand what I'm trying to achieve. Here is my code, as you can see it's for a shortcode: function verticalnav_func( $atts ) { extract( shortcode_atts( array( 'category' => '0', ), $atts ) ); ?> … | |
Hi everybody i created some pages for news management then i write some codes to put pagination under the fields for each 5 subjects than it tooks to another page for displaying rest of the subjects and everythings is ok but the problem is here i cant display the current … | |
Can someone please help me with the latest version of PHPTraid for windows 7. I have downloaded the versions available at cnet and brothersoft but they are giving compatibility issues. Same goes for the version availabe at sourceforge. Also if someone can help me out if i am missing something … | |
Okay I don't really know where to ask this, but I'm working in PHP at the moment, because its quick and easy so I'll start here. I've been given the task of converting some old files. I know the files are all images, and we believe most if not all … | |
Hi! I'm currently developing a website and I'd like to rewrite the URLs with htaccess. I've looked up some tutorials on how to do it, but it doesn't seem to work. This is one of the url's : `products.php?sub=997&id=97084&name=Manual-Control` I'd like the link to become: `products/997/97084/Manual-Control` This is my current … | |
Here is the code I have in contact.php: <?php mail('philovesdogs@gmail.com','sdf','sadfsad'); echo 'Ok'; ?> I put the echo in just to make sure that PHP was working on the page. I uploaded the page to my LAMP server and opened the page. I saw 'ok'. I checked my email however (and … | |
I have a problem that I'm sure is a piece of cake for you guys to work out. I have a small index.php script here which creates a php file (with text appended from the index.php script) each time the page is visited. The problem is that I can only … | |
| Could somebody suggest the simplest way forward for me to investigate please? Please take a look at this web page which shows a single record of a mysql db http://www.swaag.org/DB_VIEW_Specific%20Record%20Number2.php?swaagrec=591 I would like to be able to create a program where I can select for example records 1 to 100 … |
Hello, I am trying to create a picture gallery. What's the difference between: http://www.website.com/picture.php#1 and http://www.website.com/picture.php#2 Are they different pages ? On the side there will be a list of thumbnail, and when I click the thumbnail the large picture appears. how to code it? | |
I have been looking for hours on how to do this and haven't found a solution yet, hope someone here can help! Part of my problem is that I'm new to php and web dev, so I don't know what I'm looking for terminology wise. Goal: This is part of … | |
I have a chat log in php how can i reload it each 3 seconds? | |
I am having trouble with this code: <?php // Username $username = $_POST['name']; $email = $_POST['email']; // MYSQL $con = mysql_connect('host','username','password') or die(); mysql_select_db('db', $con); $var = md5($email); $result = mysql_query("UPDATE `table` SET `imageEs`='$var' WHERE user_username='{$_SESSION['sessid']}'") or die(mysql_error()); echo "Profile image updated. <a href='http://www.awsomechat.comuv.com/update_profile.php'>Go back.</a>"; ?> I am trying to … | |
I am using AURORAGPT Script When i try to login that time i got warning message (Warning: Cannot modify header information - headers already sent by (output started at /home/dollar/public_html/index.php:7) in /home/dollar/public_html/members/login.php on line 138) here my login.php 138 code line: header("Location: setcookies.php?".iif(isset($returnTo),"view=$returnTo","view=account&ac=main")."".iif("$id","&id=$id").iif($ptype,"&ptype=$ptype").iif($step,"&step=$step")."".iif(isset($ac),"&ac=$ac")."&sid=$sessid&sid2=$sessid2&siduid=$userid"); Anybody please help me to solved this … | |
we have problem with logout.php page we hav getting error Fatal error: Call to undefined function session_destory() in C:\wamp\www\Project\logout.php on line 4 | |
Hello I have a php script that resides in a single folder I want to run the same script in each folder wihout manually uploading the php file in each file for example I have mysite.com/folder/script.php and folder has different subfolders so I want to create a php file that … | |
I am having trouble with this code: <?php // Username $username = $_POST['name']; $email = $_POST['email']; $default = "default image"; $size = 40; // MYSQL mysql_connect('host','username','password'); mysql_select_db('database'); $grav_url = "www.gravatar.com/avatar/" . md5( strtolower( trim( $email ) ) ) . "?d=" . urlencode( $default ) . "&s=" . $size; $sql = … | |
I am newbie in php and i have code for retreving data from the website where the $id=id now i want to retreive the data based on the code Select * from users where cat1=cat1 and cat2=cat2 and also show the data according to the id in decrement order. i … | |
Hi, I am pretty new to Joomla. The company i work uses a joomla 1.5 website which was designed before i joined. Now I'm incharge of managing this website by doing some small changes here and there. Problem : There is a page(not index) containing a few images which are … | |
please help i want to load record in my div id ="msgbox" <div id ="msgbox"> <form action="connection/selectemp.php" method="post"> </form> </div> this is my connection <?php $con = mysql_connect("localhost", "root", ""); if(!$con){ die('Could not connect:' . mysql_error()); } mysql_select_db("intranet", $con); $result = mysql_query("SELECT * FROM `tblmsg` INNER JOIN `employee` ON tblmsg.empid … | |
hello again, so i have a countdown in which i would like to add a automatically redirect to a specific url when timer hits 0 , as of now timer just goes into the negative.. <script type="text/javascript"> today = new Date(); BigDay = new Date("8,26,2012"); msPerDay = 24 * 60 … | |
| hello i have little roblem with my php code to me its seems to be ok but its not working function bing_backs($url){ // to get backilinks $url = "http://www.bing.com/search?q=link%3A$url"; $total = file_get_contents($url); $match_expression = '/<span class="sb_count" id="count">(.*?)<\\/span><\/div>/im'; // preg_match($match_expression,$total,$matches); preg_match_all($match_expression, $total, $matches); echo $n_clean=$matches[1]; return $n_clean=clean_me($n_clean); } function clean_me($numb){ // … |
The End.