Hi all,
I am running a red hat linux 9 in console mode for my server. I have kernel 2.6.18.1 which works great.
However i have one problem, and thats with my email server. I am using sendmail to run multiple email acounts on my server for different users. However the client accounts are been...
Hi all,
Im using the following upload script to upload files into a directory on my web server. The script also adds a database entry at the same time for the filename.
However if i upload a file over about 800k i get an error saying the upload failed. This is the script im using:
<?php...
Hi,
Im using the following script to edit rows in my database:
<?php
require_once("config/db.php");
include("FCKeditor/fckeditor.php") ;
$connection = mysql_connect($host, $user, $pass) or die ("Unable to
connect!");
mysql_select_db($db) or die ("Unable to select database!");
$id...
Hi all,
Im creating a search script for my site.
I have multiple tables which all contain different fields. I want one search box which i can type a keyword or keywords into which is then passed to a query which will search all the tables and there columns and display any row with one of the...
Ive got a php edit script which allows me to alter the contents of a table row. Within this table row i have <script> code. This script code was fine and worked before i created the php edit script. Now every time i click update on the edit php script the \ (backslashes) within the <script> code...
Ok, i am very very new to javascripting. Infact ive never done it in my life.
I am only attempting it now because i need client side scripting which php cannot do.
Basiclly is it possible to integrate java and php together? I ask this because this is my scenario:
I have a php script which...
Im using the following code to populate a listbox from a mysql table. I want it so when a value is selected from the listbox its ID is passed to a variable and this variable is used in a link to post the ID to another page. I can get the list to populate and i can select a value from the listbox...
Hi all,
Im making a simple search script for my site.
I was going to try and incorporate the following simple code:
$query = "select * FROM table WHERE something like '%$keyword%' or something like '%$keyword%'";
$result = mysql_query($query) or die(mysql_error());
However i want to search...
Hi all,
Ok.... i have a page with the following code (note: these are snippets of code from the page)
if($_SESSION['password'] == $db_pass['password']) {
$logged_in = 1;
$user_lev = $db_object->query("SELECT user_level FROM brisk_users WHERE username =...
Hi all,
Right ok, got big ideas but unforntunatly i lack in knowledge in order for me to carry some of them out :(
So im calling on your help. This could be a long thread but will be very helpful to others.
Basiclly.... Im creating a new site for myself (www.briskfire.com) and i want it to be...
Hi guys,
I recently recieved help from a member of this forum on css. I am working on this on another project. However with my current project im having a few problems.
Ive set up my site using tables to expand in width and height. So the site is fluid.
I have a main content box in the middle...
Hi all,
Ok ive started work on my new site, its coming along great. I successfully created a template in photoshop after many hours of work. I sliced it up as i thought would be necessery in order for the site to be liquid in width and height.
I then started constructing the tables in...
Hi guys.
I have a mysql table called shout. Its designed in the following way:
CREATE TABLE `shout` (
`id` int(5) NOT NULL auto_increment,
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`message` text NOT NULL,
`name` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)...
Hi all,
Ok, i want to deny a certain user access to a certain database on my server. How do i do this?
And then i want to assign a certain user all access to a certain database as well, so that the user cannot even select data from other databases, just the database its assigned to. So its...
Hi all,
Ok ive started having a problem with my mysql database. Within the database gbplantandmachinery i have a table called sales. This holds all the sales items that are currently been sold on the site. Now for some rease everything is been deleted out of the table. Its as if the table has...
Hi all,
Im constructing a layout for my dads website on dreamweaver. The images were made in photoshop and sliced up as i thought right. I then built the table structures and added the images to the dreamweaver constructed layout.
Now, i have a problem. There is a gap between an image on the...
Hi all,
Right im having some problems with the wordwrap function.
Basiclly the script below calls from a database which populates the wordwrap function. However its not working. What i want is to limit the amount of characters per line so that my site dosnt stretch apart when the user types...
Hi all,
Ive got a problem with my front page web folder. It never used 2 be like this, i dont know why its started doing it.
Basiclly when ever i try to copy a php file from my computer to my network place folder i get the error message "An error occurred copying some or all of the selected...
Hi all,
Right my site is database driven, www.gbplantandmachinery.com
As u can see the homepage has writing on it, this is called from a database. The user can edit the writing from the admin section by editing whats in the text field and then clicking update. Ive got it so that the text is...
Hi all,
Right i have finished my site, however im doing some upgrades as requested by my client. He wants to have a certain number of records per page and then next and previous buttons. So i found a script and implemented it into my script which ive posted below:-
<!DOCTYPE HTML PUBLIC...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.