39,402 Topics

Member Avatar for
Member Avatar for samsons17

Hi.. I've just finished built my website,and now what left is to create the login page so that i could do the admin things.. For this website i just have one user only that is me.. So ,should i create the database for the login page or not? is that …

Member Avatar for swilliamrobert
0
247
Member Avatar for jamesyrawr

hey i seem to get this everytime i run this file within my login script Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\Isis\login.php on line 16 can anyone help me please? heres my code [CODE]<?php $username = $_POST['username']; $password = $_POST['password']; $login = $_GET['login']; setcookie("username", "$username", …

Member Avatar for vibhaJ
0
127
Member Avatar for Dheeraj Kumar

when we use header for redirecting, it will be redirect immediatelly. so how can page is wait after the redirct another location. I am request to all of u, if you have any suggession or code, please help me. Rgds. Dheeraj

Member Avatar for jogesh_p
0
285
Member Avatar for coykiesaol

Plz tell me tht How we can check tht the payment we hav received frm Google for Adsense is correct or not..??

0
68
Member Avatar for valonesal

We have a script that allows us to have a button that says save page, then it displays a list of pages the user has saved. It does this via cookies. You can see the script here for better clarification. [url]http://www.tele-pro.co.uk/scripts/storeddocs/store.htm?[/url] Does anyone know of a way to do this …

0
63
Member Avatar for Nathaniel10

I manage a small website. I went over the logs this morning and found a page reference on the site that should not have been there. It was of the format "/xmlrpc.php". I did a search for the term and found the XMLRPC website. I didn't understand what was written …

Member Avatar for Nathaniel10
0
120
Member Avatar for Nathaniel10

I manage a small website. I went over the logs this morning and found a number of pages or page references on the site that should not have been there. Most were of the format "/_vti_bin/". I did a search for the term and learned about the Front Page debacle. …

Member Avatar for Nathaniel10
0
160
Member Avatar for Nathaniel10

I hope this is the correct forum for this question. I manage a small website. The site uses a database with MySql. When I launched the site, around 3 years ago, the PHP code I wrote had minimal security and validation in PHP because I relied on javascript validation for …

Member Avatar for hielo
0
144
Member Avatar for manim

Hi Experts, I have a website which is hosted in Bluehost. I would like to access my Mysql database from remote without using browser. Is there any tool to access my Mysql database something like Filezilla? Thanks in advance, Manim

Member Avatar for drjohn
0
150
Member Avatar for toocoded

Hi Everyone. I am wondering if I can somehow manually pass a variable through the url into a text box. I did the following an dit did not work. url is [url]http://localhost/project.php?var=001[/url] [CODE]<input id="txtstext" class="t-box" name="txtstext" type="text" value="<?php ?var=$promo; ?>" style="width:100px">[/CODE] Therefore I want to paste the above url into …

Member Avatar for hielo
0
115
Member Avatar for momo219

Hello all I have a form working perfectly, however I need to put this form in a $display_block .= "... ... ..."; which I have done and which works fine also (minus the following radio code). My problem is that when I add this code back inside the display block, …

Member Avatar for momo219
0
121
Member Avatar for Dynamikz

Hi everyone, I'm a bit of a noob on the forum so please correct me if this is posted in the wrong area/or post is incorrect. I'm currently working on a new website ([URL="http://www.worldwidemixtapes.com"]http://www.worldwidemixtapes.com[/URL]) and currently stuck on the "sort by" section at the top of the page. What I'm …

0
64
Member Avatar for rahul_galgali

Hi guys, I have prepared a website using php,html and back-end as mysql,and now i want it to launch as a website plz tell me how to configure and create a webdomain.Currently i am using Xampp server to create a website.........plz help me guys. But i want to launch it …

Member Avatar for sidneyharris
0
220
Member Avatar for aldm

Hi. I have a problems with slovenian characters. I have a text file that has a letters like č,š etc. I want data from that file to store in my database. I tried utf8_encode and mb_convert_unicode but it doesn't work. Anyone can help?

Member Avatar for nevvermind
0
169
Member Avatar for NBLWebmaster

This question refers to this sample page on my test site: [URL="http://www.twdesign.ca/up/display_tattoos_2009.php"]http://www.twdesign.ca/up/display_tattoos_2009.php[/URL] The following section of PHP code: [CODE=php] <table cellspacing="0" cellpadding="0" border="0" align="right"> <?php while($row = mysql_fetch_row($result2)) { $active = $row[0]; $imagenum = $row[1]; echo "<tr><td><a name='placeholder$imagenum' href='display_tattoos_2009.php?in=$imagenum' onClick='swap('toppic','$imagenum')'><img class='opacity' name='$imagenum' id='$imagenum' src='tattoothumbnails/$imagenum.png' width='72' height='72' alt='$imagenum'></a></td></tr>\n"; } ?> </table> …

Member Avatar for hielo
0
162
Member Avatar for tobeye

hello, I'm a in PHP development and I have a question for you pro's: can you help me fix my code? I'm trying to make a conversion table: Fahrenheit(Tf) -> celsius(Tc) starting from Tf: 32 with steps of 5Tf and ends if Tc is over 100 I have tried to …

Member Avatar for hielo
0
92
Member Avatar for midjam

Hi this is driving me a little crazy, have been looking everywhere for a solution for the last few days. I'm new to php and i'm trying to create a simple food shopping cart, i have a repeat region for food extras attached to the food item. [CODE=php]<table width="100%" border="0" …

Member Avatar for midjam
0
203
Member Avatar for danimal132

When I use a GET request from a browser address bar… [URL="http:/example.com/vast/1/73188"]http:/example.com/vast/1/73188[/URL] …it loads and displays an XML output. If you then refresh the page a new file loads. Actually, there are something like 5 different titles with load in rotation as you re-call/re-fresh the page. That’s all well and …

Member Avatar for hielo
0
285
Member Avatar for ceeandcee

I am learning mySQL and PHP and am very appreciative of the help I have received here. As some of you know, I am working on a Hockey Pool site. One of my first experiments was to build a static form on a php page that would take the input …

Member Avatar for ceeandcee
0
164
Member Avatar for whiteyoh

Hi All, Im trying to iterate through some XML, but its not in its usual makeup. I was hoping somebody could help me with it. This is how it looks, and its from a raw datafile [code] <data> <schema> <Field Name="oid"/> <Field Name="creationDate"/> <Field Name="modifiedDate"/> <Field Name="salesID"/> </schema> <Item oid="11" …

Member Avatar for fobos
0
66
Member Avatar for samarudge

Hi, I'm developing a custom shopping cart application for a client, there are two shipping rates; an international one and a domestic (US) one. When the user is on Paypal and they enter there address I need the shipping to change depending on the country. I currently have the code …

0
95
Member Avatar for nixnix

Hi, I have a strange problem. I recently replaced a DSL modem with a Belkin router, and I now find that accessing localhost/<site> for sites written in PHP is terribly slow (20-30 seconds). HTML pages are still served as fast as ever. I have accessed localhost using the name "localhost" …

0
73
Member Avatar for Jabbs

Hi there! I'm new and a newbie when it comes to php - (I can hear the groans from here!) My question revoles around enabling loading of php pages dynamically of the: [B][url]mysite.com/index?page=contact[/url][/B] type. I have seen posts on here where you can dynamically load the title tags (and so …

0
71
Member Avatar for jimdj

Hello I amm designing a website for my mom the site is to advertise her book. it has a message board in it. the message board works great locally but when i upload it t a server i get a: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result …

Member Avatar for jimdj
0
84
Member Avatar for brown23

Hey Guys, I'm just experimenting at the moment - I've made a small application in C# that uses a WebBrowser Control to navigate to a website (which is currently on my LocalHost using WAMP) using a custom UserAgent (HelloWorld) Now, when I echo the useragent, it tells me what I …

Member Avatar for Stefano Mtangoo
0
91
Member Avatar for phpuser

Hello, I completed work on my project and it was live also so my webpages are already crawled by google. Now after some days i started SEO url redirecting but though old links are already crawled by google ,my new re-written url are not crawled. I am doing page 301 …

0
76
Member Avatar for chaitanya15385

please help me in scaling image when displaying from external folder . here is my code. very urgent if ($news->getString("image_file")) { if(file_exists(EXTRAFILE_DIR."/".$news->getString("image_file"))) { ?> <tr> <td colspan="2"> <img src="<?=EXTRAFILE_URL?>/<?=$news->getString("image_file")?>" width="780" height="500" alt="logo"> </td> </tr> <? } }

0
47
Member Avatar for ubi_ct83

hi all, i wanna ask some advice and suggestion from u guys about combination php and java application. i want to create a web base system.i wanna use php to communicate with database and my algorithm and calculation using java application.is it possible to do so?if yes,what should i have?such …

Member Avatar for ubi_ct83
0
84
Member Avatar for swilliamrobert

Hi, I have a problem sending values XML format using php. this is other website([url]http://www.ourmerchent.com/[/url]) sending values to Us example : $billAccountNo=10092417235315; $amount = 1020.00; using this values.. i need to send XML format to this [url]http://www.ourmerchent.com/[/url] url how can i convert to XML format and return those values to …

Member Avatar for swilliamrobert
0
133
Member Avatar for julianmoors

Hi guys, I have a form which has multiple drop-down menus using the standard <select> tags, but I can only get the results for the first drop-down menu. Does anyone know how I can expand the below code to support multiple variables using a querystring? Thanks, Julian [CODE]<!DOCTYPE html PUBLIC …

Member Avatar for julianmoors
0
225
Member Avatar for bsewell

I'm trying to populate a select box with rows from a table, but it's not showing up properly. I've looked at the source of the page, and it looks like the option html is not being outputted. Anyone spot what's wrong? [CODE]<h1>Upload Picture</h1> <form action="gallery.php" method="post"> <label for="photo">Select file: </label><input …

Member Avatar for bsewell
0
279
Member Avatar for bthaxor

Sorry if this is in the wrong section (PHP), but wasn't sure where to put htaccess issues.... Here's the deal - I have two domains, let's say domain1.com and domain2.com. On my web server, I have domain1 set up as the primary domain (/public_html/), and domain2 is an addon domain …

Member Avatar for pritaeas
0
162
Member Avatar for dmorrison

Hi, this report is taking too long to run, there is alot of data in the tables. does anyone know a quicker way to optimize this: [CODE]<?php // This report outputs everything to excel format /** Error reporting */ error_reporting(E_ALL); ini_set('display_errors',TRUE); ini_set("memory_limit","1024M"); date_default_timezone_set('Europe/London'); /** PHPExcel */ require_once '../includes/PHPExcel.php'; include ("../../config.php"); …

Member Avatar for dmorrison
0
103
Member Avatar for jaygchill

I am having problem with this coding any help would be appreciated. I have to use the struct command. [CODE]#include <iostream> using namespace std; int main () { struct Time_computed //this describes the structure name { int total; int minutes; int hours; int seconds; }ss, mm, hh,tt; //these are VARIABLES …

Member Avatar for vibhaJ
0
72
Member Avatar for qazplm114477

I keep getting an error when I try to instantiate the ArrayIterator class within a name space [CODE]$a = new ArrayIterator; //works just fine namespace test; $a = new ArrayIterator; //get error //Fatal error: Class 'test\ArrayIterator' not found in /www/ on line 3[/CODE] I've been searching the web for hours …

Member Avatar for qazplm114477
0
213
Member Avatar for elnino81

hello i am a novice user i could not pass the value(text) into database from listbox i tried using get method but it is not working can anybody help me???????? here is my code <head> <style> #margin_left{margin-left:400px; height:400px;} #spanning{margin-left:70px;} #spanning_gender{margin-left:66px;} #spanning_marstatus{margin-left:27px;} #spanning_city{margin-left:82px;} #spanning_country{margin-left:62px;} #spanning_religion{margin-left:63px;} #spanning_crime{margin-left:74px;} #spanning_crimetype{margin-left:39px;} #table{border:thick;border-color:#09F;} #insert{margin-left:140px;} #foot{ background:none;} …

Member Avatar for qazplm114477
0
168
Member Avatar for Cool&Awesome

Hi everyone, I need to modify a website created with Smarty. Pretty big website. I have 2 questions. 1. When I try to access index.php, instead of webpage I get screen full of characters. How to see the pages? Guess I need to install smarty, but even their "quick installation" …

Member Avatar for pritaeas
0
107
Member Avatar for nyler01

Please help, Someone there who knows how to create an sql for ms access database and php. The Problem is the fields in the table are written with spaces and I am not gonna change it in any means because it is connected to a very large program and it …

Member Avatar for nyler01
0
2K
Member Avatar for scarcella

Hey guys i have a little problem!! :confused: I am trying to prompt a JavaScript alert before the html headers and when this happens i does not style my footer from css. Heres my code: [CODE] if ($queryupdate) { echo "<script>alert('Your password has been updated!')</script>"; } else { echo "<script>alert('Your …

Member Avatar for P0lT10n
0
170
Member Avatar for sacarias40

Does anybody know the most efficient way to attach a location to an object in the database? I would like to allow a search for people in a certain area (as in a certain radius) I was thinking about just letting people specify a city and state instead of sticking …

Member Avatar for kooia
0
99
Member Avatar for Awah Mohamed

hey people i have installed the apache server but i dont know how to let it work ths iz the file name that i have installed [U]httpd-2.0.63-win32-src[/U] please dont tel me that i have to download another server or something just tell me what i am supposed to do . …

Member Avatar for madCoder
0
93
Member Avatar for mpc123

HI my code has an error of - Unexpected character in input: ' in url/database.php on line 9 Parse error: syntax error, unexpected T_STRING in url/database.php on line 9 line 9 is $result = mysql_query($sql) or die(mysql_error()); Can anybody tell me what the problem is please [code=php]<?php require_once 'config.php'; $dbConn …

Member Avatar for qazplm114477
0
146
Member Avatar for Kieran Y5

Hi, I am currently creating a CMS which will allow PHP code to be used but I need to make sure that certain functions are not used that can ruin the CMS. Basically, I need a way to stop certain functions (like [I]fopen[/I]) to be executed. The only problem I …

Member Avatar for Kieran Y5
0
93
Member Avatar for Jack_1

Before i start learning php, many sites like phpBuddy say to donload php installer, Apache server and MySQL. So simply i want to know what is the use of web server and MySQl.More importantly, Also tell me how to use them correctly. If possible provide me lnks from where i …

Member Avatar for justiceigwe
0
115
Member Avatar for Nompi

Parse error: syntax error, unexpected T_STRING My god what a horrible thing to see after spending hours trying to put you website up. I'm sorry to be posting this because I have seen I'm not the first to enquire about the same thing, but I have tried to make sense …

Member Avatar for Stefano Mtangoo
0
300
Member Avatar for pruthvikumar

Hello sir/madam, I am facing some difficulty in designing a project related to database. Project is related to designing of a website of daily deals of products and maintaining a database of all the products. I am using php . mysql and xhtml for design and my query is how …

Member Avatar for pruthvikumar
0
122
Member Avatar for ayooshkasmth

I've been on this for so long and cant seem to get it working. I am trying to display teh value of a dropdown in a text box and i've tried so many things but it just wont work: [CODE] <?php $query3 = "SELECT contaminant, gac_value FROM gac_ea WHERE land_use …

Member Avatar for ayooshkasmth
0
110
Member Avatar for qazplm114477

Lets say I have a bunch of classes that works pretty well without any error, and lets say that I want to introduce name spaces to my system. Before I start adding [CODE]namespace MyNamesSpace;[/CODE] to all my classes, I want to know if there are any precautions I have to …

0
95
Member Avatar for qazplm114477

It might seem appropriate to post this in the MySql section but I guess this is also a PHP question. Which is the more efficient way for adding new fields? I haven't written the code yet because I want to get the database structure right before coding. Here's my logic. …

Member Avatar for qazplm114477
0
121
Member Avatar for WikeeHyn

I want to add a chat room to my phpfox, and I have considered v3chat, flashcoms, and 123flashchat. 123flashchat have the most features and the high performance, what's more, they provide free integration for you, but flashcoms will charge you, Has anyone had good results with them? your opinion is …

0
64

The End.