Php

Advertisement

Framing A Diverted Domain Name

Framing A Diverted Domain Name

DomainA.com is diverted to domainB.com using the following script. How do I get the diversion script to display DomainA.com in the browser? <? header( "Location: http://www.domainB.com" ); ?>
PHP And Framing A Site.

PHP And Framing A Site.

Been working on a site and it's about 98% done now :) I'm having an issue where the site is framed with a about three <frameset>'s. Because of how I wanted it to scroll and where the main content was. Now my issue is this my navigation is in a frame
Send Form In PHP Script

Send Form In PHP Script

I have this little guestbook script. People enter their info and comments through a form, the info and comments are written to a database, and displayed on another page. Now I would like the script to send a message to the admin whenever a new commen
Convert A Array To XML?

Convert A Array To XML?

Say I have an array like this: <?php $colors=array(); $colors[0]['id']=1; $colors[0]['color']='blue'; [code]...........
Compaire The Two Fields?

Compaire The Two Fields?

I am developing a site using php and mysql and have hit a snag on a form. I have an ID field that I am using only to compaire what the user enters with what I currently have in a mysql database for varification purposes. If I enter the data in the fi
Ftp_quit($conn_id) Necessary?

Ftp_quit($conn_id) Necessary?

I have a question that I don't find answered in the manual: After opening an ftp connection with PHP, will it be closed automatically after the script is executed, just as MySQL connections are? Or does it remain open unless it is terminated with ftp
Session Propagation Problem

Session Propagation Problem

I tried to update my protection system for security reasons to use new global variables ($_POST, etc). The problem that I have is that the login information is not propagating through the pages (e.g. if I access protectedpage.php it works ok and disp
MySQL Database With PHP

MySQL Database With PHP

First i don't have lots of expreince in sql statements, the worst i have less experience in performance issues in sql databases. I have a mysql db as stated in title. it has a table and 4 fields like these: artist VARCHAR(255) album VARCHAR(255) song
Get A VB Database Into Like MySQL

Get A VB Database Into Like MySQL

I have a database (.mdb) made through Visual Basic. I want to have the information in that database availible for PHP on my site. Any ideas on how I could get this to work? Ive heard that there is no way to get a VB database into like MySQL so does a
Getting A Value From MYSQl Database

Getting A Value From MYSQl Database

I want to get the value from a field in the database using the following PHP code: $sql = "SELECT Paper_id from Papers WHERE Title= '$Paper_Title'"; $PaperID = mysql_query($sql); However this returns some wierd response: "Resource id #2&quo
Control Never Goes To Else&quot; Part?

Control Never Goes To Else&quot; Part?

ithe problem is: in edit.php when control enters in if condition it never goes to else when i press the edit button.i want to get id from view.php and display category name in edit.php textbox so i can change the category name by pressing edit button
T_CONstant_encapsed_string - Expecting &#039;,&#039; Or &#039;;&#039;

T_CONstant_encapsed_string - Expecting &#039;,&#039; Or &#039;;&#039;

this is the script and the error is T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' on line 19. this is the line: echo 'Database Selected' '<b>' {$_POST['database']} '</b>'; I am quite new to coding, but I can't seem to find a problem.
Error In Metaengine Function

Error In Metaengine Function

i have some error when i run the function metaengine "the code of this function the output is : ?Title:??Not Available??Keywords:??Not Available??Description:??Not Available??Keywords:??Not Available? i expect , this produce bcze can't fetch file int
Function Used Twice In Error

Function Used Twice In Error

<?php include("my_functions.php"); ?> <div id="box"> <?php get_all();?> </div> My functions is being used twice, once for the include and once for the function call.燗ny ideas?
Run Into A Brick Wall With Getting Take The Values From A Table ?

Run Into A Brick Wall With Getting Take The Values From A Table ?

'm currently running into a brick wall with getting some php to take the values from a table and display them:In my database I have a table called Team.It has three columns:eamID---Teamname---AverageRatingI just want to take all the values in the tab
$_POST Sumbit Problems

$_POST Sumbit Problems

ive been working on this addon for my site to upload files but im having problems with the post submit part of it here is my code. The problem is if the user visits the page or you refresh it sumbits blank data to the DB. Code:
ADD Records AFTER SEARCHING For It?

ADD Records AFTER SEARCHING For It?

I wanted to add records after searching the ID that i selected. However, my SEARCH is properly working and its now left with adding. View.php <form id="form1" name"form1" method="post" action="search.php?go">
If (checkdnsrr($parts[1], &quot;&quot;)){

If (checkdnsrr($parts[1], &quot;&quot;)){

it said that: <b>Parse error</b>: parse error, unexpected T_ELSE in <b> It also said that checkdnsrr is not in this php build... i am using local host and local server... checkdnsrr() is not supported in this PHP build in .. Code:
Four Characters In PHP

Four Characters In PHP

These four characters " ' and null in PHP makes me very confused. Can some give me explain these with simple examples or give me poiniter to some simple tutorial which explains the difference with examples.
News Management Script

News Management Script

I have bought new CMS, implemented all but I am not happy with news module. I need script: 1. SEO Friendly URL (url should contain news headline) 2. Easy Adding News 3. News approving, option of many journalists with different permission level etc. S
« Prev 1 2 3 4 5 6 7 8 ... 10 Next »