39,326 Topics
| |
Hey all, I have been searching and searching no luck yet. I think what i have come up with is using apaches rewrite map, but clueless as to where to begin. Here is the situation I have. I have a url [url]http://www.somesite.com/post.php?id=13[/url] and want to turn it into a SEO … | |
I am pretty new to php, and trying to work with dates right now from a mysql table, the idea is that I want a table to update every week to show what is happening this week. The dates are stored in the mysql table in $table labled as date … | |
Hi friends I am trying to install drupal-6.16 to my local server...I am using XAMPP server on windows xp. but i am getting this error massage. [B]Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in E:\local server\xampp\htdocs\www\drupal\includes\install.inc on line 188 Warning: Cannot modify header information - … | |
I am trying to create an upload system for my website. I want it to display the size of the file as well as the percentage the file takes up of 1GB (example: 512MB would be %50 because 512 is 0.5GB). The way I chose to do this is to … | |
Hi all, I am having quite some trouble with doing a certain task in php that im sure someone would know how to do it. To start, I want to have my script create a table for every 12 keys in an array. Here is the beginning of the code: … | |
Ok, so I am creating an uploader for uploading files such as .udk or .upk as well as other basic files such as txt and html. But I have been tinkering with the code I found (i'm a noob) and I can't get it to accept those extra extensions. Here … | |
Hi All Im developing a website here's my situation. Im using one template and using template to link it to every page and using str_replace to replace parts of my site template for what is needed for each page. Any way my problem is this I have sidebar and in … | |
Please code upload swf to database"phpmyadmin"?? | |
This might be a dumb question, but how do i tell the scanner what url to use for the webform? | |
Hi, I was wondering if someone with PHP talent could help me make a PVP script for my game? If you are familiar with PHP, please help! I want something simple, but i don't know how to code this.. like a battle arena where it displays a list of users … | |
I see that there is only source that can be downloaded. As I don't have the root privilege, I can't compile and install apache. What alternative is there that would not require compiling and installing apache? | |
hie.. i am making a hiring website for labours.. where i want to send a text message notification to both the person being hired and the hirer when he hire a person but i have no idea how to send sms usaing php code.. i have surfed alot of web … | |
Hi, I'm having problems with word press footers site map. at the moment it's displayed like this: [IMG]http://i52.photobucket.com/albums/g9/Rydra/Footer-1.jpg[/IMG] I would like it displayed like this: [IMG]http://i52.photobucket.com/albums/g9/Rydra/Footer2.jpg[/IMG] I've tried looking in footer.php, but there is only this piece of code: [CODE] <ul id="bottomLinks"> <?php wp_list_pages('title_li=') ?> </ul> <ul id="bottomLinks"> <?php wp_list_pages('title_li=') … | |
can anyine tell me where i could find a guide to using breadcrumb trail, i need the function to be able to go back to a page of results because when i do a search multiple items pop-up, then you click an item and view the details but then i … | |
Hi, i need to make sudoku games in a website, i have database in mysql about the sudoku, each row contain sufficient information about one game. +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+----------------+ | game_no | mediumint(5) | NO | PRI | … | |
Is there a way to handle standard XML entities with the event-driven XML parser in PHP? I'm currently using an XML file to build a collection of objects and display a page based on those objects. I'd like my CData handler to handle text that includes standard entities, but as … | |
Hey, My login form somehow isnt working and i cant find out why:S I tried shifting around the variables but it still wont work.The code is: [code] <?php $id=$_POST["empid"]; $pass=$_POST["password"]; if(empty($id)|| empty($pass)) { header("location:login.html"); } else { require_once("dbconn.php"); $sql = "SELECT empid,surname,firstname,jobid,jobtitle FROM employee,jobs WHERE empid='$id' AND password='$pass' AND jobs.jobid=employee.jobid"; … | |
Hi, I need to add link into echo phrase, and the 'Title' that is defined by the uploader, appear on the page. Can anyone help me about that subject. //Outputs the image and other data Echo "< =[COLOR="Red"]./file/".$info['file'][/COLOR] ."> <br>"; Echo "<b>Title :</b> "[COLOR="Green"].$info['title'][/COLOR] . "<br> "; Echo "<b>Description :</b> … | |
Hi to all, I am developing web application in kohana php farmework. I want to do water mark image in this application. There is no library available in kohana php for this issues.. Checked in plain php. Its working well. but that same function not working in kohana framework php. … | |
I attached screen shot with this thread. how we display data from database without null values. | |
hi........ I want display data from database. I done it. but some fields have null values. it display empty field . I attached screen shot with this. If you know the solution pls say to me. | |
[QUOTE]hi all, i had a users page in which the Admin can add users.so while adding a user i am able to restrict the duplicate entries(same names).Those users will be displayed in a table, and there is a edit button, so Admin can edit users account(like active,inactive etc). here is … | |
hi friends, I used following code for automatically incrementing value and stored in database. This working but it have small problem. when I submit value then only incrementing. ex, i entered details for invoice number 2, but it showing invoice number 1. <?php mysql_connect("localhost","root","") or die(mysql_error()); mysql_select_db("menus") or die(mysql_error()); $query2=mysql_query("select … | |
Hi, I am putting an upload function in my project. I need to upload only images that is, .jpeg, .gif. But I am not being able to do this, all types of files are being uploaded. Below is my code: [CODE] include("db_connect.php"); //set where you want to store files //in … | |
I keep getting this error when trying to load this page: [B]Parse error: syntax error, unexpected '=' in /home/xxxxxx/public_html/rma/view.php on line 28[/B] I've been trying to check it, but it looks fine to me... [CODE] <?php $username="xxxxxxxx"; $password="xxxxxxxx"; $database="xxxxxxxx"; $con=mysql_connect(localhost,$username,$password); if (!$con) { die('Could not connect: ' . mysql_error()); } … | |
Hi everyone, Just a quick question please. Its it possible to MOVE index.php files to a different location ?? if companyA registers to advertise would it be possible to move the index.php i have created to [url]http://websitename.com/companyA/index.php[/url] so the complete URL would read [url]http://websitename.com/companyA[/url] Id like to do the above … | |
Hi, I am trying to send html mail() to a number of people at once but it appears as spam in gmail, does not appear in yahoo and appears as jibberish in outlook. I need help in this area as am new to it and am hoping for some correction … | |
i want to create a successful file upload component in a site and i have used and gone thru countless tutorials but it does not seem to work. here is the code i am using [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> … | |
hi guys! a quick question about good coding practice! is it safe/good to break from php and call a js function in the middle of a class? my code kind of looks like this: [CODE]class users{ function login(){ ///other login code ?> <script type="text/javascript"> $.cookie('cookname', '<?php echo $username ?>'); $.cookie('cookpass', … |
The End.