39,323 Topics
| |
hello i want help to design a script for banning ip's and also range of ip's.... Hope that somebody may come out with a solution to do this .... | |
I have resolved a couple issues on my site thanks to you all, and hoping that you can come to my rescue one last time, because I am at wit's end trying to figure this one out. I have a shopping list on each page. Normal grocery store items; users … | |
Hello, In my code I am getting this error: [CODE]Warning: mysql_connect() [function.mysql-connect]: User turt2liv_demo already has more than 'max_user_connections' active connections in /home/turt2liv/public_html/demo/jamond_website/class.php on line 11[/CODE] That method looks like this: [CODE]//Constructor function __construct($debug){ if(!$debug){ $debug=0; } mysql_connect("localhost","turt2liv_demo","demoacc") or die("Connection Error: ".mysql_error()); mysql_select_db("turt2liv_demo_jamond_website") or die("Selection Error: ".mysql_error()); error_reporting($debug); date_default_timezone_set("America/Edmonton"); if($this->isLoggedIn()){ … | |
Hello, I have following page which shows 10 records per page (pagination) what I want is, it gives me a total of "Total (Price+Shipping)" at the end of the page. How can I do that? I am trying hard but with no access [code]<?php include('connect.php'); ?> <?php //This checks to … | |
Hi I have added the following code to my htaccess : RewriteEngine On Options +FollowSymlinks RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteRule ^/*(.+/)?([^.]*[^/])$ http://%{HTTP_HOST}/$1$2/ [L,R=301] the above rule just makes the url more SEO friendly so for example [url]www.domain.com/home.php[/url] will become [url]www.domain.com/home[/url] BUT when I have a … | |
Hello i am creating a small forum and having trouble with the user sign up form. i have the start of a sign up form on the index page then that jumps to the sign up page with more info, e.g... index.php [CODE] <form action="signup.php" method="post"> name: <input type="text" name="name" … | |
Hi, I'm using Drupal6 with the twitter module. How do you set up a rule to post a message to the current user's Twitter account? At the moment, the form in the "Post a message to Twitter" action only permits a absolute value. I want to use a token for … | |
I have the paginated results page below, intended to show the results from a previous search page that pulls items from the database and also passes the _GET to this page. When I first submit my search, it works. But when I click on the paginated pages below, It reloads … | |
Hi I coded a calendar pop up with events and I wanted to be able to join the event table with a timecard table but im not sure if im doing this correctly. What it is suppose to do is when they add stuff to the calendar the person can … | |
Looking for an answer about how I can use relations in my DB, when a link is clicked. I have the main navigation in the top of the page, the table is called:"SUBJECTS", primary key is ID. I also have a local navigation in the left side of the page. … | |
I need help using a mysql user defined function in php. What i want to do is use the mysql function to perform a query to get the count from the inventory table whose movie_id's are equal to the movie_id entered by the user. And then I would like to … | |
All, I have a small select box for deleting a page, and I need to include the pos(which is position when it gets submitted) - So I can update the database position of the pages. How can I put the pos in this too when it gets submitted? [CODE] <?php … | |
Hello guys. Just an example of what I'm talking about, I made a page to show you guys what Im looking for here : [URL="http://netroxy.com/51274581336/tablehelp.htm"]http://netroxy.com/51274581336/tablehelp.htm[/URL] If anybody can build a script that would do search results for certain categories of games, such as skill games, action games, adventure games, shooter … | |
hi there im new to php and im currently building my website .,it's more like an online store and i would like my products to be listed in a gridview., i have a database and my only problem is how to display the images .., i've already displayed some info … | |
I am having a problem in counting the user that visit to a website of mind using php. I want to count those user by day, week, month, in total and store them in MYSQL database. I have been searching through lots of site and still cannot figure it out … | |
Hi all.. I got a problem here on how to handle the form submission. The problem is like this.I got two part of the form which i want to get the data from the user for the events that he/she want to promote. [B](1)[/B]The first part is that I want … | |
I just would like to know how to do this? Just like facebook! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fermentum posuere arcu lobortis mattis. In eu nisl turpis. Praesent mi dui, dignissim et rhoncus nec, sodales vel sapien. In hac habitasse platea dictumst. Etiam quis felis vitae … | |
Hi there, I have a question about how to set up a blog with a MVC model(codeigniter). I did some research but i cant find any information because i gues i dont know the terms to look for. I know how to set it up but i get stuck on … | |
hi, I am working on upload module in which i have to send the uploaded file by email to an email id.its working fine.I want to put validation on the uploaded file i.e. to check it is attached or not.. Need suggestion Thanks | |
I have seen many threads on Google MAP API implementation i have posted replies on many threads but its better to start new thread as tutorial on Google Map API Intigration using PHP. Read this tutorial [URL="http://www.indiastudychannel.com/resources/137612-How-integrate-google-map-your-website.aspx"]How to integrate google map in to your website[/URL]. This tutorial explains step by … | |
Hi everybody! i am using joomla 1.5.23 with the templete jvwintro when i try to add a menu then a message just like "Invalid Token" is shown the same problem is shown in the JA-Methys-Joomlart-Template what the problem is? and what is the remady? please reeply me soon. | |
Right now dates might look something like this 04/18/11 or this 04/08/11. Well, what needs to be changed and where to not display preceeding 0's in single digit months / days so 04/18/11 becomes 4/18/11 and 04/08/11 would become 4/8/11.. Ty for your time and help. [code]<?php $ndnews = file_get_contents('http://www.naughtydog.com/index.php/site/tickerData'); … | |
I need help using a mysql user defined function in php. What i want to do is use the mysql function to perform a query to get the count from the inventory table whose movie_id's are equal to the movie_id entered by the user. And then I would like to … | |
Heya guys, I'm stuck. How can i manipulate the code below so that the return value is sent to my thank you page ([url]www.website.com/thankyou.php[/url]) instead of the root homepage, while keeping everything else intact. The code to my paypal return value is listed below. [CODE]<input type="hidden" name="return" value="<?=$cfg->wwwroot."registration-confirmed-".base64_encode(serialize(array($user->id, 1)))?>">[/CODE] | |
Hi, I need to replace "-" from a string . Ie Just need a "-" between two words. ie standard format is : Hello-world-php If I got a string like this 'Hello--world----php' I just need to rewrite that in to 'Hello-world-php' format . Hope you understand this .. Please help … | |
Everyone, Can someone see why this select box doesnt display the numbers, but only the default text? [CODE] <?php include_once "connect_to_mysql.php"; //Placing the page under the relevant subject, using a dropdown list $sqlCommand = "SELECT subjectid FROM pages ORDER BY subjectid ASC"; $query = mysqli_query($myConnection, $sqlCommand) or die (mysql_error()); while … | |
i want to add marker in the google map embedded with my php site? and want to show information abt that marker? kindly can someone help me how can i do that usig google maps? waiting for reply thanx | |
Hi Everyone, I have integrated a Google Map on my website, which is working in good order. The maps data such as location lat/lng is coming from database. At present all the location markers are appearing on the map. I have a php page which draws out all the sql … | |
Hello! I have an file php who want direct access in that file nobody can have access,i dn't know if is possible to block.... [CODE]<?php header("location:/path/?id=".$_GET['id']); ?>[/CODE] i put that in an embed page and run video avi.when i block direct access with htaccess video dont run.Is possible block direct … | |
Does any body know if PHP 5 support multiple inheritance? (extends multiple classes?) |
The End.