Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
70% Quality Score
Upvotes Received
26
Posts with Upvotes
25
Upvoting Members
19
Downvotes Received
13
Posts with Downvotes
11
Downvoting Members
8
9 Commented Posts
~86.3K People Reached
Favorite Tags

164 Posted Topics

Member Avatar for jyotiu

If I understand it correctly, it is not a coding problem but you want to now how you can check if a room is free or not. I had the same problem with a holiday home rental system years ago and solved it this way. Create a table with 365 …

Member Avatar for Ahmad_74
0
2K
Member Avatar for JerieLsky

There is a similar question here: [URL="http://www.codeguru.com/forum/showthread.php?t=494378"]http://www.codeguru.com/forum/showthread.php?t=494378[/URL] with a lot of reply's. Maybe it will bring you closer to an answer.

Member Avatar for Inderjeet_2
1
8K
Member Avatar for amarula25

It seems you have already solved it. In Firefox 3 under Linux I do get a new background image when pressing F5 or the refresh button.

Member Avatar for vjproduction
0
3K
Member Avatar for JiminSA

Welcome. You may want to look here [URL="http://www.phptutorial.info/iptocountry/the_script.html"]http://www.phptutorial.info/iptocountry/the_script.html[/URL] They explain how country identification works and have ready to use php online. In the response from users section, ([URL="http://www.phptutorial.info/iptocountry/responses.html"]http://www.phptutorial.info/iptocountry/responses.html[/URL]) the second question and answer is exactly what you are looking for.

Member Avatar for varunr
0
496
Member Avatar for baraklevy

wmode = transparent only seems to work in MS Windows and sometimes in Linux browsers. (don't now about the Mac, can someone say something about flash on the Mac). But it depends on the rest of the code used. I'm re-designing a web site and there will be a flash …

Member Avatar for mnooruddeen
0
1K
Member Avatar for wonderland

The letters are not coming out of a database I presume. Just an echo in the php file where these letters should be displayed in a browser? If so, you can repair the problem by re-opening the php file with a editor that understands utf-8. Under Windows you could even …

Member Avatar for motke
0
286
Member Avatar for khess

If you want to learn PHP please don't read this tutorial. Buy a good book or read some good books that are published online.

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

What does curl_getinfo give? It might give more info why it goes wrong so many times.

Member Avatar for aafasihah
0
91
Member Avatar for isotope

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Sticky Footer</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type="text/css"> * {margin: 0;} html, body {height: 100%;} /* the bottom margin is the negative value of the footer's height */ .wrapper {background:#ccc;min-height: 100%;height: auto;height: 100%;width:500px;margin: 0 auto -142px;} /* …

Member Avatar for Cool&Awesome
0
120
Member Avatar for eihd

And remember, any method to get anything over a flash will not work when your page is opened under Unix or Linux. The flash plugin for Linux simple does not work correctly.

Member Avatar for keshavgarawal89
0
1K
Member Avatar for iketunde

Thank digital-ether for this part: onclick="return (confirm('do you really want to delete the stuff?')) Tried it with a submit button in a form and it even works here. Perfect. Just what I was looking for.

Member Avatar for mohammed yaghi
0
2K
Member Avatar for cloud09

Did a search with Google and it looks like IE7 is doing the right thing. On a lot of sites there are complains about absolute positioning in IE8. Seems it is not working the way it should. While searching found this site: [URL="http://msdn.microsoft.com/en-us/library/ms533005%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/ms533005%28VS.85%29.aspx[/URL]. Maybe it will help you solve the …

Member Avatar for Member 784625
0
93
Member Avatar for nileshgr

I'm using Firefox 3.5.10 (in a virtual environment) and 3.6.6 under Slackware Linux 12.1. Daniweb looks (unfortunately) more or less the same as it does with IE on a Windows machine.

Member Avatar for nileshgr
0
257
Member Avatar for iamthwee

[QUOTE]But it took me about 5 minutes to figure out how that worked[/QUOTE] Only 5!! Took me a lot longer. It seems that things that are not important are in font size enormous and for what does matter you need a microscope to be able to read it.

Member Avatar for Nick Evan
0
218
Member Avatar for AkhJ

Just add [CODE]<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> [/CODE] as first thing after <head>. As for South East Asian languages I'm not sure, but I think using utf-8 will do no harm. Al the characters of those languages are incorporated in utf-8.

Member Avatar for AkhJ
0
283
Member Avatar for colweb

In the previous version of Daniweb there was 1 error and no warnings reported by the web developer toolbar in Firfox 3.5.9 under Linux. But the current version has a few more (a lot more actually). For instance, when opening [URL="http://www.daniweb.com/forums/forum17.html"]PHP forum[/URL] with the same browser you get the following …

Member Avatar for Dani
0
221
Member Avatar for A_Jobe

I have a book about creating a webshop system but it isn't in English. Maybe this site: [URL="http://www.boran.com/book/export/html/43"]http://www.boran.com/book/export/html/43[/URL] gives some useful information.

Member Avatar for johnmarshel
0
110
Member Avatar for neethu balan

[QUOTE=neethu balan;1197579]linking database selected through dropdownlist with corresponding database in mysql via php[/QUOTE] Yes, that's the title. Did you press the submit button to quickly or what? What is the actual problem?

Member Avatar for mhahnel
-1
76
Member Avatar for vb5prgrmr

[B]>> Okay, new design and we still only have two colors, red and green! Yucky!!![/B] Only two?? I see all shades of grey (not a color by the way) and a lot of shades of purple. That at least makes 3 colors.

Member Avatar for vb5prgrmr
0
154
Member Avatar for vb5prgrmr
Member Avatar for colweb
4
184
Member Avatar for jephthah

Based on the replies in several threads in this forum daniweb is going to loose it trusty long term members and goes on with newbies. It seems only the newbie posters are happy with the changes. Queen of DaniWeb, a real Queen listens to the people and acts accordingly. I …

Member Avatar for Ezzaral
5
512
Member Avatar for saranraj.cmr2

[QUOTE=saranraj.cmr2;1205632]Hi to all, I am developing web application in kohana php farmework. I want to do water mark image in this application. There is no library available in kohana php for this issues.. Checked in plain php. Its working well. but that same function not working in kohana framework php. …

Member Avatar for saranraj.cmr2
0
149
Member Avatar for jephthah

It shouldn't be to difficult to find a professional designer or company that knows what they are doing and can make a fully functional website like this one. Or is jess3.com chosen for financial reasons? It is just a thought, but there are quite a few professionals member of Daniweb. …

Member Avatar for diafol
3
1K
Member Avatar for rukshilag

Based on the previous replies here, I conclude that there is still no solution. The following code will upload any file (test for file-type is not included yet) to the folder "upload". [CODE]<?php // set the destination $uploaddir="upload/"; // test for errors if ($_FILES['file']['error'] > 0) { echo "There is …

Member Avatar for ricmetal
0
268
Member Avatar for Ancient Dragon

[QUOTE=WaltP;1224285]The ADA -- I agree. They make [B]my[/B] teeth hurt too. I also think flash sites should be banned, to, as well as automatic music and video, and flashing ads.[/QUOTE] Don't forget the abundant use of the color purple.

Member Avatar for jephthah
0
303
Member Avatar for jephthah

The current layout, use of color, fonts are to big, and it is harder to read prove that not every change is an improvement. Eventually you get used to it, but .... I don't think I will be so active here as I was lately. And oh my, that permanent …

Member Avatar for Dani
8
2K
Member Avatar for cwarn23

[quote]Also, its been just one day. There have been things fixed all over the place, things will get better, just give them time. We can't have everything fixed all at once [/quote] After you have been building a site or restyled and existing one, you should test and test again …

Member Avatar for Froger93
0
248
Member Avatar for jasonpclaire

You could put the part to create a thumbnail inside main.php like so:[CODE]<?php function show_thumbnail($image) { $path_parts = pathinfo($image); $basename = $path_parts['basename']; // width and height of thumbnail $new_w = 200; $new_h = 200; // get info about the image list($width,$height,$imgtype) = getimagesize($image); if (empty($imgtype)) { // it seems we …

Member Avatar for jasonpclaire
0
102
Member Avatar for agongpor

What messages do you get in the error log(s)? The mysql error log file is usually found in the mysql data folder and ends in .err

Member Avatar for agongpor
0
7K
Member Avatar for gymangel812

On line 87 of the first php file you use if (isset($_POST['filename'])). But this won't work. If you want the name of the uploaded file use $_FILES['filename']['name']. To check if any file is selected before the submit button is pressed use is_uploaded_file($_FILES[$filename]['tmp_name']); So in your code you could change this …

Member Avatar for sourcebits
0
122
Member Avatar for FreddieBambino

I have done some tests. If your mysql table charset is set to Greek, you can enter Greek characters in the table and when viewed with the query browser, the do look like Greek and not garbage. So instead of[CODE]CREATE DATABASE `database1` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; [/CODE] use[CODE]CREATE …

Member Avatar for colweb
0
267
Member Avatar for ruigrandaorocha

In the form (index.php) you use "user1" and "password1". But in login.php you start to use "user1_login". To make this work, first change references so they are all the same. If you use "user1" in the form, keep using "user1" in the page(s) after that form.

Member Avatar for colweb
0
75
Member Avatar for majama

Welcome. Did look at the site with Firefox and didn't see any image overlap. Is the overlap only in specific browsers? In the "products" part you are using tables. Maybe each of the <td>'s need to have the width set also to avoid overlapping. But it is hard to tell …

Member Avatar for majama
0
107
Member Avatar for dan_t

[QUOTE=dan_t;1213995]Another question, Is there a way in php to send emails without having to use the "mailto:" ? Most everything I have seen uses this method, but a lot of people don't use MS Outlook. Thanks Dan[/QUOTE] The use of "mailto:" is not related to Outlook. On a Windows machine …

Member Avatar for dan_t
0
91
Member Avatar for EdBeck
Member Avatar for InsaneVr6

[QUOTE][CODE]$_to = array(); //get recipients $_to[] = "name@email.com" . ", "; $_to[] .= "name@email.com"; //set the headers $headers = "From: <name@domain.com>"; mail($_to[$i], $_subject, $_text, $_headers);[/CODE][/QUOTE] I don't see $i in the above code. And why are you using an array? Change $_to[] to $_to and remove the line $_to = …

Member Avatar for InsaneVr6
0
166
Member Avatar for drfarzad

And remember, if you are viewing this page on a Linux machine, the menu will always be behind the flash. On a Linux machine, no matter what you try flash will always be on top.

Member Avatar for kk6terry
0
91
Member Avatar for mgn2683

If I found the right line in the source code, you need to tell the background not to repeat. Like so: [CODE]<td colspan="2" valign="top" background="http://djfades.com/images/main_bg.jpg" style="background-repeat: no-repeat">[/CODE]

Member Avatar for kk6terry
0
145
Member Avatar for whiteyoh

When using a form to upload files, (input type="file") you can get the name of the file this way:[CODE]$name = $_FILES['upload']['name'];[/CODE]Assuming that your form looks like this:[CODE]<form method="post" action="upload.php"> <input type="file" name="upload" value="" maxlength="200" size="40"> <input type="submit" value="submit"> </form>[/CODE]

Member Avatar for whiteyoh
0
81
Member Avatar for vibhaJ

Make sure the table is using charset utf8. Then before you insert or select from this table use [CODE]mysql_query("SET character_set_client=utf8", $con); mysql_query("SET character_set_connection=utf8", $con);[/CODE] That way Chinese will go in the table and will come out again.

Member Avatar for colweb
0
69
Member Avatar for ashking

You might be able to do it with curl. See here: [URL="http://curl.haxx.se/"]http://curl.haxx.se/[/URL] In php you prepare the curl command needed ($command = "curl ....."; and execute it with system($command);

Member Avatar for colweb
0
64
Member Avatar for Kaycy

Yes and no, but the debate is still going on. CSS is in, no doubt about that. The benefits of using css are huge. Every modern site uses css nowadays. As for tables, they are out but not completely. There are still situation where css is "not up to the …

Member Avatar for Kaycy
0
177
Member Avatar for niths

You should check the value of 'f1'. See that it is appended to $fullpath (in download.php) but the result is an illegal path. There are too many forward slashes in this part of the path: [CODE]Project////qhdebug.log[/CODE]

Member Avatar for colweb
0
144
Member Avatar for zerioni

[I]From [URL="http://dev.mysql.com/doc/refman/5.0/en/replace.html"]http://dev.mysql.com/doc/refman/5.0/en/replace.html[/URL][/I] [QUOTE]REPLACE works exactly like INSERT, except that if an old row in the table has the same value as a new row for a PRIMARY KEY or a UNIQUE index, the old row is deleted before the new row is inserted[/QUOTE] Haven't completely checked your posted code, but …

Member Avatar for zerioni
0
6K
Member Avatar for Mestika

I have no doubt that there are many ways to do it. Maybe this will work for you: [CODE]<?php // Where do I run (Window or Linux) and handle accordingly if (strtoupper(substr(PHP_OS,0,3)=='WIN')) { // Windows $path = "C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs"; $command = "dir /s/b/o:g ".$path." > dirlist.txt"; } else …

Member Avatar for mschroeder
0
311
Member Avatar for 4789787

[I]From [URL="http://php.net/manual/en/reserved.variables.server.php"]http://php.net/manual/en/reserved.variables.server.php[/URL][/I] [QUOTE] 'HTTP_REFERER' The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. [B]In short, it cannot really …

Member Avatar for colweb
0
338
Member Avatar for speedy94519

Hard to tell. It depends on your own knowledge and what is covered in those courses.

Member Avatar for colweb
0
121
Member Avatar for tinanewtonart

Don't know this particular hard drive, but it strange you need a driver for it in Windows XP. I have 9 external usb hard drives (from Maxtor, Seagate, IOmega and Western Digital) and have never installed any drivers for it. Used the Maxtors even under Windows 98. The fact that …

Member Avatar for tinanewtonart
0
274
Member Avatar for balam

[QUOTE][CODE]$sql= "INSERT INTO flats (date_posted, type, location, rent, title, image, image1, image2, image3, image4, description, contactEmail, number) VALUES (NOW(),'$_POST[type]', '$_POST[location]','$_POST[rent]', '$_POST[title]', '$_POST[image]', '$_POST[image1]', '$_POST[image2]', '$_POST[image3]', '$_POST[image4]', $_POST[description]','$_POST[contactEmail]','$_POST[number]')"; $sql2 .= "INSERT INTO user (email, password, conpass) VALUES ('$_POST[email]','$_POST[password]','$_POST[confirmPassword]')";[/CODE][/QUOTE] Insert an echo $sql."\n"; on line 3 in the above code to see …

Member Avatar for balam
0
218
Member Avatar for vibhaJ

A colleague of mine came up with phpLiveDocx, a Zend Framework component and can read and write DOC and DOCX files in PHP on Linux, Windows and Mac. The project web site is: [URL="http://www.phplivedocx.org"]http://www.phplivedocx.org[/URL]. But I haven't worked with it, so can't say anything useful about it.

Member Avatar for colweb
0
186

The End.