Forums Page 41
-
Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably look up and find the answer for myself. However, I…
-
gmdate() - want 1 hr before time
Hi, I am using php gmdate(). Now I am entering all dates in my dbase using gmdate("Y-m-d H:i:s") I want 1 hr before datetime. So am using like…
-
Php - mysql store data and use it later?
Hi, i' making a login page at the moment, however my username + password is stored many different places, and is kinda hard to get, so I have written…
-
Advice on how to delete a mysql row using my form
Hi, I am very new to php and am struggling to work out how to delete a portfolio item (a row from my database using my form which is here)…
-
Multiple includes losing variables
Hey all, just starting out w php and ran into a problem pretty quickly. I'm including several files into each page. The variables in the first…
-
TimeStamp Column Problem...
I'm mad at my self and thinking I'm a little retarded. It just be some one mistake I'm missing here. I coded my self a forum, when you reply to a…
- Advertisement
-
php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from the sql. However when I click delete nothing…
-
Problems with strings containing <?
Hey all, I have encountered something strange in a script. I am trying to write an XML header and then fill in the file: Code: $xmlFile =…
-
Creating an invoice
Using fpdf I am trying to create an invoice to send to clients. The products are sold in pricing tiers. I've got it working so it only displays a…
-
Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code below that uses POST, but I need to modify this one…
-
PHP FTP Can't upload Big FIles
Anyone had any success using FTP to upload a file say 90m? im using ftp_put and it returns false. BUT the file DOES upload just fine. I even…
-
Filtering an Array Based on Value
I have a very simple script set up that pulls data from a database and is output using this code: Code: Print "<table border cellpadding=3>"…
-
PHP Session Issue
I'm having an issue with one section on my website dealing with sessions. Now I know that myself and two other individuals can get it to work without…
-
difference between datetimes
($row['totime']-$row['fromtime'])/60 this is giving me 0 example of totime and fromtime are: 2009-12-26 01:10:05 and 2009-12-26 1:03:01 i was…
- Advertisement
-
writing a screen scraper
Hello, I'm writing a screen scraper application and want to be able to get absolute addresses for images from relative links. So a link like this…
-
retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and then i need to retrieve the keys of the top ten…
-
Users and Groups with PHP Classes
Hi, I have setup what I hope to be a good working User class. Now I want to introduce group membership and group permissions. Before doing so, I have…
-
getting rid of quotes in strings
sick of trying to deal with them in multiple ways (entering in and taking from database, echoing, echoing within a text input, etc) so i would just…
-
Help with setcookie()
Merry Xmas to those on this foruum Older guy here with some experience but not allot so please be gentle. I am having problems with setting cookies…
-
My XSRF Prevention code isn't working
First of all, thanks for the generous help you guys have given me in the past on this forum. Second, I apologize in advance if my code is hard to…