Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 196
Search took 1.92 seconds.
Search: Posts Made By: Feckie
Forum: PHP 05-10-2013, 11:37 PM
Replies: 0
Views: 106
Posted By Feckie
Exclamation rename uploaded image name to time stamp

How can I rename uploaded image name to time stamp

here's my code

<?php

//This is the directory where images will be saved
$target = "images/";
$target = $target . basename(...
Forum: PHP 10-07-2012, 11:47 PM
Replies: 7
Views: 870
Posted By Feckie
Cheers Mate that works perfect :thumbsup:

Cheers Mate that works perfect :thumbsup:
Forum: PHP 10-07-2012, 07:22 PM
Replies: 7
Views: 870
Posted By Feckie
Fou-Lu I got yours to work with a few...

Fou-Lu I got yours to work with a few adjustments, Thanks
ie: it was "birthday_search" not "birthday" My Bad :)

Next Question:
How would I add the actual date after each name ...

It now...
Forum: PHP 10-07-2012, 07:32 AM
Replies: 7
Views: 870
Posted By Feckie
Tried that, it made no difference

Tried that, it made no difference
Forum: PHP 10-06-2012, 09:55 PM
Replies: 7
Views: 870
Posted By Feckie
Birthdays in Current Month vb 4.2

I am trying to display the user birthdays this month in vbulletin 4.2

I have done the script below, although there is a birthday set this month
it shows " No Birthdays This Month "

Can...
Forum: PHP 08-01-2012, 09:11 PM
Replies: 8
Views: 591
Posted By Feckie
I have added braces, and it seems to be working...

I have added braces, and it seems to be working ok again.

Time will tell :)

Thanks
Forum: PHP 08-01-2012, 05:49 PM
Replies: 8
Views: 591
Posted By Feckie
Date Script going crazy

Can anyone tell me why this as started to randomly display the wrong dates.
( Shortened version but you get the idea )

<?php
$d=date('m.d');
if ($d=="01.01")
include...
Forum: MySQL 07-21-2012, 02:39 PM
Replies: 7
Views: 689
Posted By Feckie
Smile ha ha read above

ha ha read above
Forum: MySQL 07-21-2012, 08:16 AM
Replies: 7
Views: 689
Posted By Feckie
Hi Old Pedant, I have just to admit what a...

Hi Old Pedant,

I have just to admit what a plonker I am..

mindset 1 day = 12 hrs Must be getting older than I thought

now set to 3 days = 72hrs so set to delete to 71hrs and it's working...
Forum: MySQL 07-20-2012, 12:14 PM
Replies: 7
Views: 689
Posted By Feckie
That Adds or subtracts a specified time interval...

That Adds or subtracts a specified time interval from a date, what i want to do,
is Delete from database files older than 35 hours
Forum: MySQL 07-20-2012, 11:56 AM
Replies: 7
Views: 689
Posted By Feckie
Delete HOUR or DAY ?

I need to delete all where timestamp is over 35hrs old, as the links are then void..
I have tried
$query = "DELETE FROM import WHERE Timestamp < NOW() - INTERVAL 35 HOUR";
But it seems to...
Forum: PHP 07-12-2012, 06:57 PM
Replies: 3
Views: 276
Posted By Feckie
Yep it's inside php tags ...

Yep it's inside php tags






Sorted it' I wasn't calling it properly ... Duh!
Forum: PHP 07-12-2012, 09:57 AM
Replies: 3
Views: 276
Posted By Feckie
Fresh Eyes Please

Can anyone tell me why this is not working

<a href=\"' . $link . '\" target=\"_blank\"><img src=\"./images/' . $categorie . '.png\" width=\"40\" height=\"40\" border=\"1\" title=\"' . $categorie...
Forum: HTML & CSS 07-10-2012, 05:35 PM
Replies: 4
Views: 322
Posted By Feckie
I placed that in the css and it done nothing at...

I placed that in the css and it done nothing at all..
Forum: HTML & CSS 07-09-2012, 07:28 PM
Replies: 4
Views: 322
Posted By Feckie
Image Link Question

Is it possible to have an image used for a link, to be greyed out onclick.
Forum: PHP 05-07-2012, 05:11 PM
Replies: 10
Views: 562
Posted By Feckie
OK I have set a Cron job, but it displays the...

OK I have set a Cron job, but it displays the following



Array
(
[0] => /home/XXX/public_html/Backgrounds/1.jpg
[1] => /home/XXX/public_html/Backgrounds/10.jpg
[2] =>...
Forum: PHP 05-07-2012, 02:46 PM
Replies: 10
Views: 562
Posted By Feckie
Many Thanks Fou-Lu :thumbsup: It's working...

Many Thanks Fou-Lu :thumbsup:

It's working after I Changed the folder Permissions to 777

Full Script Now



<?php
// Configuration //
Forum: PHP 05-06-2012, 07:42 PM
Replies: 10
Views: 562
Posted By Feckie
Ok I now have <?php // Configuration // ...

Ok I now have
<?php
// Configuration //
$imagesPath = "/home/kellysbe/public_html/Backgrounds";
$dailyImagePath = "/home/kellysbe/public_html/Background_Daily/daily.jpg";
// End Configuration...
Forum: PHP 05-06-2012, 07:03 PM
Replies: 10
Views: 562
Posted By Feckie
Ok I now have the following, it displays Failed...

Ok I now have the following, it displays Failed to copy daily image..





<?php
// Configuration //
$imagesPath = "/home/xxx/public_html/Backgrounds";
$dailyImagePath =...
Forum: PHP 05-05-2012, 08:26 PM
Replies: 10
Views: 562
Posted By Feckie
I'm not sure how to do this.

I'm not sure how to do this.
Forum: PHP 05-05-2012, 07:49 PM
Replies: 3
Views: 484
Posted By Feckie
Here...

Here (http://www.w3schools.com/html/html_forms.asp)
Forum: PHP 05-03-2012, 08:35 PM
Replies: 10
Views: 562
Posted By Feckie
Write Daily Image to Folder

Can anyone tell me why the jpeg images are not being selected in the folder



<?php
// Configuration //
$imagesPath = "/home/xxx/public_html/daily_background_select";
$dailyImagePath =...
Forum: PHP 01-30-2012, 07:22 PM
Replies: 2
Views: 283
Posted By Feckie
Thanks that's sorted it

Thanks that's sorted it
Forum: PHP 01-30-2012, 04:44 PM
Replies: 2
Views: 283
Posted By Feckie
How do I make is display ASC

I have this script that displays folder content,
How do I make is display ASC, at the moment there is no order.


<?
/**
* Change the path to your folder.
* This must be the full path from the...
Forum: PHP 12-21-2011, 12:57 AM
Replies: 2
Views: 270
Posted By Feckie
Smile Thanks that works perfect

Thanks that works perfect
Showing results 1 to 25 of 196

 
Forum Jump

All times are GMT +1. The time now is 04:59 AM.