Forums Page 68
-
Getting Resource id #11 while trying to connect..
So i tried using "DEFINE" for the first time and im using the variables i defined to connect but it reports back this error: QuoteWarning…
-
Why Are These Functions Causing MASSIVE Memory Problems? Please Help!
Hi, I have a script with some options. I use regex to replace patterns in strings, but I seem to be using them incorrectly, because they very quickly…
-
How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it out...! My page lists the records in my database…
-
Check before inserting in DB ???
This is my code --------------- if ( $_POST ['Submit']) {{ $username = $_POST ['usernm']; $userpassword = $_POST ['userpw']; } /*insert data from the…
-
Help With editting and deleting form
Hallo !! So look at this image : http://img194.imageshack.us/img194/8272/snapshot5f.png This table prints the titles of entries from a table in a…
-
Why does my crawler script suddenly end with no error?
Hi. I have written a web crawler script. It will visit a large number of URL's with cURL. After around 2-3 minutes of running, it will just stop…
- Advertisement
-
Send current URL in URL with a $_GET variable problem.
Hello community, I have created a function that gets the current variable of a page, example: current page URL: Code: [Select]…
-
help me fix these syntax errors...
I keep getting multiple syntax errors on this script like this one: Parse error: syntax error, unexpected T_ELSE in .../scripts/php/loginform2.php on…
-
Connecion issue
Hi, For some reason, I keep getting this error when trying to connect: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL…
-
php title problem
Hi, I am having a problem managing my page title with PHP. Currently I have my <title> tags in each PHP document, followed by my header.php…
-
Option box to change variable
Hello, i need help by making a script! I need to write a file with option box, so a dropdown menu with 10 or more options, and when i select one…
-
Simple MySQL script is not working
Hey guys, Just familiarizing myself with PHP and MySQL. I am following along in the O'Reilly book that addresses both topics and has the platypus on…
-
Thought I has this figured out especially after all the help i received?
Cags, Salathe, Daniel helped me with this yesterday, but not sure i took it all in. I am attempting to open the URL and grab all the links within…
-
Variables and Include
Code: [Select]<?php $header = $_COOKIE['mss']['header']; $body = $_COOKIE['mss']['body']; $footer = $_COOKIE['mss']['footer']; include '$header'…
- Advertisement
-
Why is this function returning a false value when it shouldn't be??
This is in an include file. I want it to check a value in an html form and see if it's just white space, is numbers, is empty etc. Code: (text)…
-
cPanel API
Hi Guys, Need a little guidance. I'm trying to get my script to communicate with cPanel (or WHM) to show certain statistics, for example, how much…
-
How many users online in the last 24-hours using time()?
I'm fairly new to PHP. I have a MySQL table called 'users' and a field called 'loggedin' which is in time() format. I need a query that'll check how…
-
Creating Images from images in PHP
Okay well I am trying to make a 'dynamic' calender image with PHP. I have images like this: and: Obv I have an image for each day of the month (1…
-
Retrieving innerHTML with cURL?
Hey all (sorry I know I'm a leecher, but I soon won't be. This is my first PHP project, but not my last ). I need help with a little problem I am…
-
adding 0 to numbers
Hey guys i need to create a 00001 number in a loop. Is there a better way of forcing a 5 digit number then counting them and adding the missing zeros?