39,320 Topics
| |
I have a folder called _secure in which I have a .htaccess file that denies all access to the _secure folder. Within the _secure folder I also have a swf file. I'm using PHP to retrieve the secured swf file and show it if the user is logged in. For … | |
Does anyone have an example to show a dynamic array of a db table that can be updated. table consists of 3 fields of which the team name is the only constant- points and percentage need to be changed weekly. Any help will be very much appreciated, i have tried … | |
Hi, As the title would indicate, I know a lil about PHP, but zero about ASP. I was having problems with spam from one of my forms, and one solution I did was to have a form field I named "message" that is hidden. Humans can not see it, and … | |
Anyone tell me about patServer please. Does anyone know where I can find instructions on how to use patServer - spent ages on the net trying to find a 'how to'. Specifically, where to put each of the files in one of their examples (say, tictactoe) and whether I need … | |
i am trying to export the results from a form into the script of another php in form of variables : ex. form proccess script (globalvar.php) [quote] $dbtype = $_POST['dbtype']; $dbhost = $_POST['dbhost']; $dbname = $_POST['dbname']; $dbpass = $_POST['dbpass']; $dbport = $_POST['dbport']; $dbtable = $_POST['dbtable'];[/quote] new php (varheader.php) [quote] $dbtype … | |
Hi, everybody, I'm new to PHP and I'm setting up a web page in which I want to include a subscribing box for the visitor to send me his email. I've found this code on the internet and adapted to my neccessity but I want to know if it's okay … | |
Hey, I've just uploaded some stuff to server and it works fine but theres a big error message through the screen saying "undefined variable seacrh at line 15" Code: [php]if(isset($_GET['search'])) if(!isset($cmd)) { $search = $_GET['search']; } $keywords = explode(" ", $search); <--- line 15 [/php] Also is there any way … | |
ive got a [B]Parse error[/B]: syntax error, unexpected T_VARIABLE on this line: [code]$dboutput = "//database vars \n" "$dbtype = '".$dbtype."'; \n" "$dbhost = '".$dbhost."'; \n""$dbtype = '".$dbtype."'; \n""$dbname = '".$dbname."'; \n""$dbport = '".$dbport."'; \n""\n" "$database = array($dbtype, $dbhost, $dbname, $dbpass, $dbport);";[/code] any idea of whats wrong with it? | |
Ok. here's the problem. I bought a game site script thinking that I would just be able to put it directly onto my website.. haha.. I have no experience in building websites and am completely lost. It's in PHP and what I've done so far is created a mysql acct … | |
hi, it is giving me headache to write data from a php file to mysql( i can read from the table but cant write) here is my connect.php which connects to mysql: [CODE]<?php $mysql_host = "localhost"; $mysql_user = "sam"; $mysql_pass = "123456"; $mysql_data = "website"; $mysql_table = "shoutbox"; mysql_connect($mysql_host,$mysql_user,$mysql_pass) or … | |
| |
hi, I am trying a login page for my website. the login page works fine and i can take the username using sessions to the welcome page. now my question: would i be able to retrieve(show) data from mysql according to the username that i have in session? thanks | |
Ok here is my code: [code] <html> <head> <title> PHP Test Page </title> </head> <body> <?php echo date("H:i"); echo gmdate("M d Y"); $counter_file = "count.dat"; if(!($fp = fopen($counter_file, "r"))) die ("Cannot open $counter_file."); $counter = (int) fread($fp, 20); fclose($fp); $counter++; echo "You're visitor No. $counter."; $fp = fopen($counter_file, "w"); fwrite($fp, … | |
What will a flash xml client socket connect to? I have a working php TCP/IP server socket bound to a port >1023 and the flash client will not even connect to it. I can connect to it with non-xml client. Can anyone explain this to me - it has been … | |
Hi peeps. My main reason for coming here is to ask for a little help, coding wise. Now i`m not sure what specific rules you have for requesting help so please don`t get on my back if i do something wrong. With that said, I`ve been trying to code a … | |
hi, is there a way to delete data in mysql using the 'date' column, i have a table with name message and date. if the date is say yesterday then delete the row.... it is for the shoutbox i am implementing, so i need to delete one messages from yesterday. … | |
Hi buddies I want to implement VSS(Visual Source Safe) and am having XAMP. I have searched for the info and it says JRE is a must for VSS to work and it come by default if we work on IIS server. But mine is XAMP:sad: What should i do? :?:Please … | |
I am trying to build a website that will provide visitors an option to view almost all of the pages in multiple language. Is there any PHP CMS that will allow me to do that? | |
Hi, I have created a commenting system which could be used for commenting articles posted. The trouble is that after doing all the development I am stuck with pagination.The architecture to store comments is to hold in filesystem in the following way. Article {Folder 1} Reply 1 Reply to 1 … | |
Hello, I am attempting to create a session class. I want it to be able to store all kinds of data about the current session, such as member information, authentication, application data, or any other structures that would be unique to any given user. If I were to create a … | |
Hi, I have confused in the terms of www and www2. For what purpose really www and www2 are used in webservers. I have searched but Iam not found a good result. Can anyone tell why the term www, www2 and www1 are used in webservers and for what purpose? … | |
Hi guys, I need some help with setting up and using joomla on my site. If you wish to help me, this is some stuff you should know: I want someone to help me for free but I will still pay every now and then if they do something for … | |
I want to be able to enter an employee number from my system and have it delete. I have a form that prompts the user to enter an employee number. That seems to be working fine. <html><TD WIDTH="29%" HEIGHT="60"><DIV ALIGN="LEFT"><BR>Input the Reference, to make sure we have the right one:<BR><BR><FONT … | |
Hi My hosting company no longer permits connection to any port other than standard ones and I am in the middle of a project that is best solved via sockets (I think). I use a mysql database and connect to it via php. I need 4 people to use client … | |
Hi, In symfony , if i have two modules. module A has functino to get the details and corresponding template has a list of comments to show from filesystem. But comments i want to keep as a seperate module and this asks me to skip from one action to another. … | |
Here is my code I need help with: [code] mysql_connect[B]($host,$username,$password);[/B] [B]@[/B]mysql_select_db[B]($database)[/B] [B]or[/B] die[B]([/B] [COLOR=#008000]"Unable to select database"[/COLOR][B]);[/B] [B]$query[/B] [B]=[/B] [COLOR=#008000]"SELECT DISTINCT info647_crse . crsdesc , info647_crse . crsprice FROM info647_emp JOIN info647_reg USING ( empno ) JOIN info647_off USING ( offerno ) JOIN info647_crse USING ( crsno ) WHERE empno … | |
Hi again. I've been tackling another tutorial which isn't working fully, basically it lists records in a table and an insert link sends the data to a text field which can then be modified. The data is displayed fine but when selected the form does not recieve the information. Its … | |
Hiya i am designing an online music video library apllication where users can access their music via a mobile phone. I already know i can use WML or j2me for this however because its a project i need to knw what environments they use etc | |
hi guys i've this problem with a page having [code]copy()[/code] to copy a file from a website well it works on apche and winxp but when i put on the server (running win2000 and IIS)the page does not load i anyone hav an idea wht the heck is the problem | |
Hi I have a website that can search for journal article and display it page by page. when you search, the results are displayed with check boxes and people can select items by ticking the check boxes. I am using PHP session to store checked items until they display selected … |
The End.