39,323 Topics

Member Avatar for
Member Avatar for desiguru

Is there anyway I can type wget command into a php and that will download file directly from another server to my own server?

Member Avatar for ctsjoe
0
1K
Member Avatar for haribo83

I have a dedicated server running wamp server, everything is almost ready to do but I can only access the site using the IP address. I have a domain registered with 123-reg and need this to link to my site. Does anybody have any idea how to do this? Thanks

Member Avatar for Borzoi
0
115
Member Avatar for andrewliu

Hello. I have an image that is stored in a folder directory, and I was wondering how I can use php to retrieve that image by its name and directory with a search. I do have a search that will retrieve information on mysql, but I don't know the code …

Member Avatar for andrewliu
0
173
Member Avatar for arctushar

Hello I m having problem as below I have a file named [B]index.php[/B] and its code is [CODE] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Hello!</title> </head> <body> <?php $abc=file_get_contents("file.php") ; echo $abc; ?> </body> </html> [/CODE] and the code of [B]file.php[/B] is [CODE] <?php echo "tushar"; ?> [/CODE] When I browes index.php its …

Member Avatar for mschroeder
0
110
Member Avatar for shafeequeom

when we are loging out we will get a php page.when i save that page i am not getting that box.i need source code of that page to get that box.Or please say me how to make that box Iam attaching the image of the logout page

Member Avatar for Kraai
0
163
Member Avatar for styleest

Please i need someone to help me on how to set my SMTP so that i can send mails. I work in an office that uses intranet and i was given the SMTP server and port no. but i dont know how to configure it. Pls someone help me

Member Avatar for Borzoi
0
236
Member Avatar for aitha

Hi, I am trying to write a .htaccess script that can redirect example.com to example.com/subdomain. This is my code but it's not working. Can you please suggest. RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] RewriteRule ^(.*)$ [url]http://www.example.com/subdomain/[/url] [R=301,L] Thanks in advance

Member Avatar for Borzoi
0
120
Member Avatar for snehil_khanor

hi, php have thi svery nice function strtoime() int strtotime ( string $time [, int $now ] ) The function expects to be given a string containing an English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 …

Member Avatar for Sergey.Smirnov
0
773
Member Avatar for edmundoswald
Member Avatar for nika201

hello, I have a simple problem. I need to create a new table "smaller" using the data from an old table "larger" table. When I say smaller I mean it will have the exact structure as the older table but will have only a few records. Now, i know that …

Member Avatar for pritaeas
0
105
Member Avatar for Aeterna

can anybody help me with a mod_rewrite rule real quick? RewriteRule ^(.*) index.php?category=$1 [L] its working but my file data.php which is being loaded into index.php via jquery get isnt outputting anything and I think its being routed to index.php?category=data.php which is wrong obviously. so how can I redirect things …

Member Avatar for pritaeas
0
133
Member Avatar for phpDave

Hi, I'm trying to write a script that allows me to insert a file into MySql. I would like it to work under the user's session. I am getting error:(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right …

Member Avatar for lyrico
0
111
Member Avatar for kamaludeen
Member Avatar for girlinthesun

I'm trying to get my Captcha to work. It works, but if the user does it correctly I want them to go to my thanks.html page, and I'm doing something wrong. Help? [CODE] <? require_once('recaptchalib.php'); $privatekey = "Private Key numbers"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); $to = 'myemail@myemail.com'; …

Member Avatar for girlinthesun
1
131
Member Avatar for alhindasi

PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/classes/users.php on line 162 PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/classes/user.php on line 62 Here is users.php [CODE=php]<?php class user{ var $user=array(); var $random_id; var $random_link; var $currentpoint; var $minspoint; …

Member Avatar for alhindasi
0
342
Member Avatar for komanche

I am building a website that connects to a mysql database. When I include the file that holds the connection to the database I get an error message. If I write the code in each page the connection works fine and displays records held in database. Here is my code; …

Member Avatar for komanche
0
199
Member Avatar for scarcella

I have a website which dynamically gets images and then displays it but i have sub image which has to update the main image, but this main image is a lightbox which uses href link so i am wondering if someone can show me how to update this href using …

Member Avatar for Ezzaral
0
145
Member Avatar for aitha

Hai Can any one knows how to use php badbehavior for web site security Thanks in advance

Member Avatar for chrishea
0
74
Member Avatar for Mogradjinn

I'm developing an ordering system relying on PHP and MySQL; the problem I have is essentially HTML, though, and specifically with Google Chrome (no issue with Firefox or IE). If an order already exists for a customer, items are listed with input boxes but with the maxlength attribute (a variable …

Member Avatar for Mogradjinn
0
144
Member Avatar for Craig2231

Hi guys hope your all well, im having a problem with a register page on my website, Dreamweaver is saying there are no syntax errors, but when the information gets submitted, the check page isnt doing anything :( This is the code i have: [code=php]<?php session_start(); include_once"includes/dbconnect.php"; if ($_POST['Submit']){ $user …

Member Avatar for Craig2231
0
174
Member Avatar for rokape

Hi Guys, As the title says really... Sounds simple, it is. But....! I'm dealing with huge numbers here. I'm dragging bandwidth from a logging system I am developing for a client and it returns it in BYTES... Very accurate :| This is the sort of number I'm dealing with here... …

Member Avatar for rokape
0
2K
Member Avatar for Shankye

Hello everyone .. Im learning PHP on my own .. I installed Apache on Windows XP and trying install PHP, tried both installer and manual way but its not working :( PHP scrips getting downloaded .. Can any one give me a good link for step by step installation ?

Member Avatar for Shankye
0
150
Member Avatar for cfhjag

Hi all, I basically want to create a personal (probably password protected) webspace to which I can easily save images to, similar to svpply.com and ffffound.com. The way they work is that you create an account, you get a link which you keep in your bookmark bar and when you …

Member Avatar for anandsri85
0
148
Member Avatar for severman

Hi all. is it possible to alter a form after an ajax call? what i want to do is this: i have a form with some textfields and a select box with 2 options. what i want to do is when a person chooses one option, i will unset some …

0
72
Member Avatar for mbhanley

Can anyone see where im going wrong with this code I keep hitting a brick wall with it. Its doing my head in. I think its more the sql code, It keeps showing all data instead of just showing the data based on the user_id which should be limited to …

Member Avatar for mbhanley
0
149
Member Avatar for MooGeek

Hi guys wassup? do you know how to get a time stamp like facebook? 3 minutes ago 4 hours ago 3 days ago 4 weeks ago thank you! :D

Member Avatar for madCoder
0
86
Member Avatar for jonnypixel

Hi, I have searched high and low and cant find a similar issue to what i have. I am a beginner so please forgive my clunky query structure. I am trying to: ( have attached screen grab below ) Query the [B]photos table[/B] to get the id based on category …

Member Avatar for diafol
0
156
Member Avatar for Bliksempie

Hi everyone, I have a very large CSV file. 51427 lines to be exact. I need to import the entire file into a MySQL database, however, the script times out due to server settings and slow connection (and maybe other reasons that I am not aware of). So - I …

Member Avatar for pakkupakku
0
1K
Member Avatar for imran_newid

I just want to know which is the best FREE Web Hosting provider which has max uptime (uptime really important) with cpanel, php, mysql and softachoculos. (just these I need) I want to use free address from dot.tk as my primary site address.(I already have dot.tk no problem with that …

Member Avatar for imran_newid
0
134
Member Avatar for EvolutionFallen

Hello, I'm trying to create a button that allows the user to d/l info from a DB into a CSV. The button works fine, the download window appears and asks if I want to save/open the csv file. But when the file opens, there is nothing in it, and I …

Member Avatar for EvolutionFallen
0
111

The End.