39,323 Topics

Member Avatar for
Member Avatar for Killer.bee

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 ....

Member Avatar for tomato.pgn
0
117
Member Avatar for flynismo

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 …

Member Avatar for hielo
0
150
Member Avatar for turt2live

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()){ …

Member Avatar for turt2live
0
112
Member Avatar for Sarao

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 …

Member Avatar for tomato.pgn
0
204
Member Avatar for andy106

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 …

0
109
Member Avatar for nats01282

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" …

Member Avatar for nats01282
0
94
Member Avatar for ayathullah

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 …

0
93
Member Avatar for turpentyne

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 …

Member Avatar for turpentyne
0
126
Member Avatar for ROTC89

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 …

Member Avatar for madCoder
0
97
Member Avatar for klemme

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. …

Member Avatar for madCoder
0
158
Member Avatar for jfunchio

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 …

0
62
Member Avatar for klemme

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 …

Member Avatar for klemme
0
194
Member Avatar for netroxy

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 …

Member Avatar for tomato.pgn
0
171
Member Avatar for xiiopao

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 …

Member Avatar for xiiopao
0
538
Member Avatar for channsoung

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 …

Member Avatar for tomato.pgn
0
107
Member Avatar for samsons17

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 …

Member Avatar for tomato.pgn
0
804
Member Avatar for Barrett1

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 …

Member Avatar for ko ko
0
148
Member Avatar for mr-jacob

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 …

0
88
Member Avatar for jacob21

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

Member Avatar for codewall
0
59
Member Avatar for keval_hack

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 …

0
52
Member Avatar for amanu092

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.

Member Avatar for amanu092
0
144
Member Avatar for MoreBloodWine

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'); …

Member Avatar for MoreBloodWine
0
152
Member Avatar for jfunchio

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 …

0
50
Member Avatar for layzie121

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]

0
84
Member Avatar for rajeesh_rsn

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 …

Member Avatar for chrishea
0
177
Member Avatar for klemme

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 …

Member Avatar for klemme
0
210
Member Avatar for rutaba

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

Member Avatar for keval_hack
0
201
Member Avatar for joban.ali

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 …

Member Avatar for keval_hack
0
300
Member Avatar for arjani10

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 …

Member Avatar for arjani10
0
208
Member Avatar for jason199

Does any body know if PHP 5 support multiple inheritance? (extends multiple classes?)

Member Avatar for mschroeder
0
29

The End.