Search found 37 matches

by dave_c00
Wed Jul 18, 2007 7:05 am
Forum: PHP - Code
Topic: Is it possible to fetch content from a different website?
Replies: 5
Views: 661

I would look at fopen();

http://uk3.php.net/fopen

Open the url into a variable and then do what you want with that..
by dave_c00
Wed Jul 18, 2007 6:55 am
Forum: Installation and Configuration
Topic: Using $ GET after a rewrite.?
Replies: 3
Views: 1407

Using $ GET after a rewrite.?

Hi, I am using RewriteRule to sort out my urls in htaccess. The problem is that now I need to record a $_GET that is on the end of the url when it comes from a google ad. example: /product-1-widget.html (is my normal url which works fine) /product-1-widget.html?ad=google (is the new url that I want ...
by dave_c00
Wed Mar 15, 2006 9:27 am
Forum: PHP - Code
Topic: Redirecting from hyperlinks
Replies: 1
Views: 441

Re: Redirecting from hyperlinks

I would like to record to a database when a hyperlink is clicked on my website and have a couple of questions. 1. What is easiest and most effective way to do this? 2. How can I ensure that the website where the link points to will see that some of their traffic originates from my site? Can anyone ...
by dave_c00
Wed Mar 15, 2006 9:18 am
Forum: PHP - Code
Topic: Image moving and renaming on my server
Replies: 1
Views: 462

Image moving and renaming on my server

Hello, I have a folder on my server that contains loads and loads of images. What I want to do is copy an image from this folder to another location and rename it at the same time all within a function.... ....if I have 4 variables: $name1 = "1.jpg"; $location1 = "/images1/"; $na...
by dave_c00
Mon Jan 16, 2006 3:52 am
Forum: PHP - Code
Topic: Save an image to my hard drive automatically.
Replies: 3
Views: 685

Ok thanks for you help.

Dave
by dave_c00
Mon Jan 16, 2006 3:33 am
Forum: PHP - Code
Topic: Save an image to my hard drive automatically.
Replies: 3
Views: 685

Save an image to my hard drive automatically.

Hello,

I would like to save an image from a website to my hard drive automatically using a php script.? Is this possible. I can upload an image automatically to my server but not sure about the other way around.

Thanks

Dave
by dave_c00
Tue Jan 10, 2006 4:41 am
Forum: PHP - Code
Topic: Saving an image onto my server form another location.
Replies: 4
Views: 880

Unfortunately i have an eariler version of php on my server. Is there another way?

Thanks

Dave
by dave_c00
Tue Jan 10, 2006 4:14 am
Forum: PHP - Code
Topic: Saving an image onto my server form another location.
Replies: 4
Views: 880

Saving an image onto my server form another location.

I was wondering if it is possible on a form to click a submit button and save an image from the location entered in an input box (e.g http://www.test.com/image1.jpg) to a known server.?? All this at a click of a button rather than having to save it locally first.

Thanks

Dave
by dave_c00
Tue Aug 02, 2005 7:47 am
Forum: Regex
Topic: Replacing everything but letters, numbers and hyphens...
Replies: 6
Views: 7528

Perfect

This code looks perfect for what i need however i cannot get a result can anyone help?

Thanks

Dave
by dave_c00
Tue Aug 02, 2005 7:13 am
Forum: Regex
Topic: Getting the alphabet only
Replies: 4
Views: 6454

Getting the alphabet only

hello,

i am trying to get rid of any symbols in a string.

The only thing i want is 0-9 and a-z.

Rather than using preg_replace to remove all symbols is there a way of using regular expressions to get the correct result,

Thanks

Dave
by dave_c00
Wed Jun 29, 2005 10:18 am
Forum: Regex
Topic: preg_replace certain symbols
Replies: 2
Views: 5628

preg_replace certain symbols

Hello,

I am desperately trying to write a preg_replace function to strip the symbols;


* ^ & ' " ( ) % $ £


out of a string

Can anyone help?

Thanks

Dave
by dave_c00
Thu Mar 24, 2005 4:09 am
Forum: PHP - Code
Topic: Mail()
Replies: 7
Views: 1544

I have the mail function amongst some other php scripting and when executed nothing happens. no error message or anything. The code is as follows; <?php $to = "dave_c00@hotmail.com"; $subject = "New Order"; $message = "Testing"; mail($to,$subject,$message) or print &quo...
by dave_c00
Wed Mar 23, 2005 3:24 am
Forum: PHP - Code
Topic: Mail()
Replies: 7
Views: 1544

Mail()

Thanks for the replies,

I do not host the site, so what do i need to ask my server company to do?

Thanks

Dave
by dave_c00
Mon Mar 14, 2005 4:57 am
Forum: PHP - Code
Topic: Mail()
Replies: 7
Views: 1544

Mail()

Hi,

If i want to use mail() on a web page do i need any extra stuff on my the server other than normal php.

Thanks

Dave
by dave_c00
Fri Jul 23, 2004 3:46 am
Forum: PHP - Code
Topic: Working with a calendar
Replies: 3
Views: 1042

That looks really good. Thanks...