39,320 Topics

Member Avatar for
Member Avatar for kingfheartz

<?php include 'session.inc'; check_login(); $con=mysql_connect("localhost","root",""); if(!$con) die('Could not connect:' .mysql_error()); mysql_select_db("vms", $con); if($_POST[product]!='NONE') { $product=$_POST[product]; } else { $product='NONE'; } $expire=time()+60*60; setcookie("product",$product,$expire); if(product!='NONE') { // how many rows to show per page $rowsPerPage = 20; // by default we show first page $pageNum = 1; // if $_POST['page'] defined, use …

Member Avatar for kingfheartz
0
98
Member Avatar for dan1992

Can Someone Tell Me how to make a auto posting form . I need theat form for automatic pots ip on sql db, Please Help Thx.

Member Avatar for scaiferw
0
76
Member Avatar for punithapary

Hi friends, I developed some web pages in that i am adding some data's with ur finally in the backend i am updating PR based on the url .In the localhost the code is working fine and updating PR but if i uploaded that in to the online that time …

0
55
Member Avatar for muradgm

Hi all, I AM TRYING TO CREATE A SEARCH ENGINE USING PHP AND MYSQL. I've been hitting the same problem over and over in my development. Sometimes when i do a MySQL query I keep getting the error Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\searchengine\search.php …

Member Avatar for SikoSoft
0
79
Member Avatar for darja22

Hi, Could anyone please help a n00b girl on this one? Thx:) [php] <?php session_start(); //allows session include('config.php'); if($admin == 6) { echo "Admin"; } ?> include "includes/header_account.php"; if($logged[id]) { //welcomes the member <div id="mainContent"> <div id="profile" class="clearfix"> <div id="col-left"> <div class="profile-section"> <a href='editprofile.php' class="manage">Uredi svoj Profil</a> <h2>echo "Živjo $logged[username]</h2>"; …

Member Avatar for diafol
0
163
Member Avatar for knkk

There is this function: [CODE] function disguise_curl($url) { $curl = curl_init(); // setup headers - used the same headers from Firefox version 2.0.0.6 // below was split up because php.net said the line was too long. :/ $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = …

Member Avatar for knkk
0
2K
Member Avatar for krea2r

Hey there all. I wanted to know if there was a way to use php to validate form. Well in more detail, I wanted to know if it was possible to print a msgbox using php telling the user he has missed some thing rather than having to display a …

Member Avatar for jaini817
0
194
Member Avatar for prem2

Hi Daniwebteam, I want to upload a file size which is greater than 2 MB.The default file size of php is 2MB. So,i have used the following coding, [code=php] ini_set('upload_max_filesize','7M'); [/code] or ini_set('upload_max_filesize','7000'); But still i did not able to upload a file size which is greater than 2mb.When i …

Member Avatar for BanneyHill
0
142
Member Avatar for canterorist

hi! I'm starting creating theme in wordpress. I study the default theme in wordpress. The problems are the files. I only know the header.php,footer.php,sidebar.php,function.php, index.php and style.css. Some files like archive.php and the others, i don't know the use of them. me i know why they are part in wordpress …

Member Avatar for canterorist
0
153
Member Avatar for jpakerla

Hi guys... I need a PHP code which will display a hyperlink only between 8:00 am - 8:00 pm. Thanks.

Member Avatar for matthewl
0
72
Member Avatar for JethroZS

My PHP is rusty, but I'm not letting that stop me. I've got a project my business is undertaking for our local area: The project can be seen as a simplified linkedin, with the ability for users to register a company page, which will allocate a subdomain via cpanel. The …

Member Avatar for nileshgr
0
115
Member Avatar for nevergone

Hi, I have a website and inside it I have an includes folder that contains *.inc.php files. Website is using ajax and I dont want the files to be accessed directly,but only by my website , or at least dont allow external data sent to them. Inside includes folder I …

Member Avatar for nileshgr
0
74
Member Avatar for SerjSagan

I have a table with a bunch of check boxes, this is not a plug: (found at [url snipped]), I am trying to figure out how to store each checkbox's value in real time (there is no "Submit" button). I run jQuery through my site and was thinking that PHP/jQuery …

Member Avatar for SerjSagan
0
309
Member Avatar for CFROG

I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the …

Member Avatar for CFROG
0
90
Member Avatar for json101

I had a look at this [URL="http://code.google.com/p/php-smtp-email-validation/"]PHP SMTP Email Validation[/URL] and found it pretty useful. [B]How would I be able to post results to a MySQL database, [/B] the info posted to the screen wont help if you have 100's of thousands of email addresses to validate. [QUOTE]>>> HELO example.com …

Member Avatar for json101
0
126
Member Avatar for oliv1

Hi I've set up a website which gathers results from a mysql database which allows the user to sort the results according to some preferences in 2 separate select lists. It works as long as you make a selection from both boxes before submitting. I would like for results to …

Member Avatar for oliv1
0
110
Member Avatar for raju_boini525

hi all, i am working on a project , it needs facebook facepile plugin intigration , how can i add this plugin . i tried but failed to get result. if any one have idea please help me.

0
59
Member Avatar for tta013

Dear all, Hope you are well. I have just created a page which list a resort name and all the fitness clubs that are available in that resort. I would like to register the clubs that are being ticked into a table as separate rows. The table name is called …

Member Avatar for sourcebits
0
80
Member Avatar for jv143irish

Howto pass a textfield value to a pop form? I need to pass the value so that the drop down box on the form would autopopulate the items related to that value in the textfield. I'm using PHP. any help please?

Member Avatar for jv143irish
0
240
Member Avatar for cacoyle

hi guys having a problem getting a single value from a mysql query getting all sorts of problems - heres my latest version below [code=php]mysql_connect($host,$user,$password) or die( "Unable to select database"); mysql_select_db("mydatabase"); // select database to use. $user = 84; $sql1="SELECT `order_id` FROM `table1` WHERE `user_id`= '$user'"; $array = mysql_fetch_array('$sql1'); …

Member Avatar for cacoyle
0
97
Member Avatar for cloud09

While attempting to use my forum posting system, I received a mysql error that said to look for the correct syntax to use around '' on line 1. I attempted to reproduce the error but was unable to do so. Any ideas on what cause this and how to prevent …

Member Avatar for tiggsy
0
72
Member Avatar for ssk1712

where do i place this code.im confused? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <LINK href="special.css" rel="stylesheet" type="text/css"> <title>User Info</title> <STYLE type="text/css"> .htmlForm td{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#CC3300; border-bottom:1px #EAE3C8 solid; } .htmlForm input,select{ border:1px #BDB597 solid; font-family:tahoma; …

0
49
Member Avatar for Wobbie Wobbit

Hi this is my 1st post here. I am trying to integrate a wordpress and bbpress. They were sharing same database, using the user info correctly and working fine apart from I wanted to get it so that users were logged into the other automatically, and have been looking online …

Member Avatar for Wobbie Wobbit
0
147
Member Avatar for hassal

Hello all, I've a problem on displaying an image which come from a blob field in my sql joomla database table. My used code is : in my controller.php file : [code] function showImage() { $connexion = mysql_connect("localhost", "root", "123456") or exit (mysql_error()); $database = mysql_select_db("joomla")or exit (mysql_error()); $idMatche = …

Member Avatar for pritaeas
0
159
Member Avatar for ayesha789

Dears [INDENT]This is an electricity billing Site link [url]http://www.mepco.com.pk/ls/defftree.asp[/url][/INDENT] I click on each link and SELECT and COPY/PASTE , It takes 3 hours minimum each day to save all pages in Excel. I want to get all pages automatically using PHP or Query. Because higher management demand reports each day.

Member Avatar for ayesha789
1
259
Member Avatar for cthoes

Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 455 Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 456 Access Denied [CODE] <?php // Using Auth_HTTP to limit access require_once('db_login.php'); require_once("Auth/HTTP.php"); …

Member Avatar for cthoes
0
76
Member Avatar for johnpaul007

I need to append my excel sheet to my existing mysql table with data. Can someone guide me here and explain the code as to how i should do it. I am getting a syntax error when i do this.

Member Avatar for diafol
0
64
Member Avatar for tomekm1

Hi, I need help for this problem that i'm trying to solve for a while. How do i submit the value into database and view value ? Here's the code: [CODE] if ($id_pac && $id_rej && $data && $id_kon && $lekarz) { // tworzymy zapytanie $id_mat = (isset($_POST['id_mat'])) ? 1 …

0
46
Member Avatar for Odubz

Hello, I was wondering does anyone have an idea how to make a dropdown menu that dosent repeat values from the SQL Server? Perferably using a while loop. I was thinking of camparing the set values with the new values as it loops through them but im not sure. -Thanks

Member Avatar for Odubz
0
154
Member Avatar for Mrgrinch12

I have been struggling with these two pages for awhile. I have one page with a form which shows different data depending on who is logged in. There is one drop down adjustment field that the users between "Active" and "Bench". The submitted form should be updating that field in …

Member Avatar for Mrgrinch12
0
110

The End.