Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
90% Quality Score
Upvotes Received
8
Posts with Upvotes
6
Upvoting Members
8
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~23.2K People Reached
Member Avatar for MDanz

i'm trying this below but it isn't working, the page is coming up blank .. [CODE]<?php $url = 'http://www.realgm.com'; function get_url_contents($url){ $crl = curl_init(); $timeout = 5; curl_setopt ($crl, CURLOPT_URL,$url); curl_setopt ($crl, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($crl, CURLOPT_CONNECTTIMEOUT, $timeout); $ret = curl_exec($crl); curl_close($crl); return $ret; } ?>[/CODE]

Member Avatar for RoseAug
0
289
Member Avatar for khess

Programming in PHP is fun and easy. It is a very powerful scripting language that takes simple HTML and turns it into a fully-interactive experience for the web user. Let's get started! Note: These tutorials assume that you have a working web server that's capable of displaying PHP code and …

Member Avatar for cwarn23
-8
1K
Member Avatar for tunde011

I have been reading php manual and i need to encrypt passwords for users on my site. The thing is i do [CODE] $password =md5($password)[/CODE] and store it in the database what about when they want to signin. they enter their password but it won't be the same as the …

Member Avatar for cwarn23
0
301
Member Avatar for ChrisJ

I have tried to modify the PHP in an OSCommerce file, while trying to get my OSCommerce site up. I have apparently created the following Parse error: ....... /create_account_success.php on line 16. I am not a programmer and no very little PHP. Is it acceptable to paste the PHP here …

Member Avatar for anonymousabyss
0
264
Member Avatar for preetg

hi.. i m getting parse error ...... can anyone help me how can i remove it........... [B]Parse error: parse error in c:\apache\htdocs\newhr\attendnce.php on line 21[/B] [CODE] <?php mysql_connect("localhost","root","root"); mysql_select_db("master"); $dates = array(); $employee = array(); $attendance_record = array(); $getdates = "select * from mar10 order by Date" or die(mysql_error()); $dates_resultset …

Member Avatar for amitrohilla
0
682
Member Avatar for OS_dev

When you access a url that has several anchor tags on it. You know what I mean, links at the top that navigate to a specific point in that page by adding a "#name" at the end of the url. In every other browser, if you click on a few …

Member Avatar for Nappynick
0
148
Member Avatar for star_lavender

How to use while loop to loop a set of radio button groups? I have several questions that retrieve from database and each question has five different ratings named 1, 2, 3, 4 and 5. I create radio button group for the rating and using while to loop them. I …

Member Avatar for star_lavender
0
3K
Member Avatar for Designer_101

Hey I have an array which pulls in the name, artist and URL of songs from a playlist.xml file. The array prints like the following: [CODE]Array ( [0] => Array ( [tag] => PLAYLIST [value] => Array ( [0] => Array ( [tag] => SONG [value] => [attributes] => Array …

Member Avatar for Designer_101
0
85
Member Avatar for ayesha789

HI Dears all I have 2 tables in DB. [LIST=1] [*]Lease_north [*]Lims_payment [/LIST] My first query is [ICODE]Select * from lease_north WHERE LaStartDate like '%-04-%'[/ICODE] its shows 100 result means 100 payments are due and must be paid in April. My second query is[ICODE]Select * from lims_payment WHERE pdate like …

Member Avatar for ayesha789
0
450
Member Avatar for OS_dev

Not to be rude at all. I am looking for a forum that I can spend some time in and I feel that daniweb would be cool. I have actually come and gone before and felt then the same way I feel now. This site needs some optimisation and it …

Member Avatar for cwarn23
1
141
Member Avatar for ee96ddo

i have an account with godaddy and they tell me my absolute path is d:\hosting\username\ if i have a file on my computers c: drive how would i upload it to mydata directory on the server using php. straightforward uploading is ok because i just copy and paste into [url]ftp://mysite.co.uk[/url] …

Member Avatar for OS_dev
0
69
Member Avatar for prem2
Member Avatar for taieb

hello I'm new to this I have not knowledge and I want to install a php script for classified web site but I can't find the connection string? some body help please, thank in advance TD.

Member Avatar for OS_dev
0
61
Member Avatar for Monster Killer

I am making my own CMS website and the body content is echoed onto the page however some of the page content is php code but the actual code is echoed out. How can i make it so that it works properly. Code: [CODE]<div id="form"> </div> <h1>Form</h1> <br /> <?php …

Member Avatar for jonathanroy
0
204
Member Avatar for sim_pack

i'm not sure if this is the correct forum to start this thread.. my apologies.. my concern is will there be an effect in my site's ranking and visibility if i change my index file from .html to .php? any tips on how to ensure the smooth transition from .html …

Member Avatar for OS_dev
0
88
Member Avatar for Phil++

Hey, I'm creating a usersystem that has a profile system. I'm stuck on a problem. I want the profile to be viewed by a url like: [url]www.mysite.com/member/phillip/[/url] So every time someone registers it automatically creates this folder. The problem that I'm having is that I need to place an 'index.php' …

Member Avatar for OS_dev
0
130
Member Avatar for cane23

i have a piece of code that finds the sum of the credits of the courses that were chosen in the multiple drop down list. my code works fine when there is a value that was selected and i can easily assign the variable to the session variable. however i …

Member Avatar for liamfriel
0
81
Member Avatar for Tekkno

Hello DaniWebbers, I've got several href's that take the user to different forms. However, in order to have access to the forms, they have to log in. So when they click the link, they are redirected to a login page if they have not already logged in, otherwise they are …

Member Avatar for Tekkno
0
207
Member Avatar for rpgwebsolutions
Member Avatar for dillyfresh

getting this error: Parse error: syntax error, unexpected T_VARIABLE in index.php on line 3 here's the code: [code] <?php include("budget.php"); include("user.php"); ?> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div id="container"> <a href="user.php?action=register">Register</a><br/> <a href="action.php?function=transaction" id="add"><img border="0" src="img/plus-icon_small.jpg" alt="+" width="30" height="30"/> </a><br/> <?php if(isset($_GET['month'])) $month = $_GET['month']; else $month …

Member Avatar for OS_dev
0
71
Member Avatar for s_kanika

Hello everyone I have created a basic chat window in that i used textarea to enter message but by default it is taking a tab i.e., initially cursor isone tab ahead instead of being at initial position of textarea . Can anyone help me??????

Member Avatar for s_kanika
0
97
Member Avatar for OS_dev

I see this question come through here quite frequently and I just happened to finish another login script so I figured I would post it and you can take what you want from it. If you have any questions, feel free to ask. [CODE=php] <?php session_start(); //include pdo mysql db …

Member Avatar for OS_dev
0
116
Member Avatar for Bubbleboy

I am really confused. I want to make a <p> tag hidden using javascript, and then, if i detect its running IE, i want to make it visible. I can't even make it hidden though. I have tried [CODE]<script type="text/javascript> document.warning.style[visibility] = 'hidden';[/CODE] i've tried [CODE]<script type="text/javascript> document.warning.style.visibility = 'hidden';[/CODE] …

Member Avatar for Bubbleboy
0
189
Member Avatar for Nadoosh

Am currently working on a PHP project..and am stuck with the calculation part and sending the results to my database table, am dealing with checkbox and my task is to allow members to tick all the suitable times and then to send each column to their table in my database …

Member Avatar for Nadoosh
0
97
Member Avatar for dominique7

Dear programming cracks! I set up a website and thought an email form would be nice, but I thought it would be easier to get it right! I got it quite ok with the easy example below which I found at: [url]http://www.freewebmasterhelp.com/tutorials/php/6[/url] [CODE]<? function checkOK($field) { if (eregi("\r",$field) || eregi("\n",$field)){ …

Member Avatar for dominique7
0
145
Member Avatar for lisles

I want to echo a message before redirecting.the message gets displayed but it disappears very soon.is it possible to increase the time of display before redirect.this is my code [code=php] if($result) {echo "Data has been edited"; redirect('edit.php'); } else { echo "<p>cannot update your data<p>"; } function redirect($loc){ echo "Reset …

Member Avatar for OS_dev
0
2K
Member Avatar for OS_dev

I would like to be able to change the "wrap" attribute for a textarea with javascript. That is unless you can provide a cross browser solution in css2, giving me the ability to just modify the css attributes. Thank you in advance.

Member Avatar for OS_dev
0
214
Member Avatar for SKANK!!!!!

[CODE]$arr = array(1 => "rambow", 2 => "rambow", 3 => "popcorn", 4 => "rambow");[/CODE] how do i make it in simpler format so i dont have to keep typing "rambow" for every number that => "rambow" ? cause theres a lot of "rambow" for a whole bunch of numbers. isnt …

Member Avatar for OS_dev
0
115
Member Avatar for ryan311

in my previous question i only ask how can i delete a data using checkbox i forgot to put multiple check. here's my code [CODE]<form id="form1" name="form1" method="post" action=""> <table border='1' cellspacing='0' width='612'> <tr> <th bgcolor='green'><font color='white'> <input type='checkbox' name='checkall' onclick='checkedAll();' /> </font></th> <th bgcolor='green'><font color="white">ID</font></th> <th bgcolor='green'><font color='white'>Check In</font></th> …

Member Avatar for ryan311
0
819
Member Avatar for Wraithmanilian