146 Posted Topics

Member Avatar for kc0arf

Submerge a slice of lactal bread into whipped eggs, then brown it with plentiful oil and add salt to taste. A delicious !

Member Avatar for pogson
0
2K
Member Avatar for hobo38

You can pass the image id as parameter in functions: [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-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-us" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="date" content="2003-12-02T09:54:03+08:00" /> <meta http-equiv="imagetoolbar" content="no" /> <title>Dynamically enlarge …

Member Avatar for hoping2
0
3K
Member Avatar for chavansoft

The jQuery questions should be made on JavaScript / DHTML / AJAX forum. From Drupal perspective, some jQuery plugins could not work with the jQuery bundle included on Drupal core (the jQuery distribution included maybe is too old). To fix this issue, there is a module to update the jQuery …

Member Avatar for martin5211
0
118
Member Avatar for balagod

Look at your apache httpd.conf if the line that includes your vhosts file isn't commented. Try to use: [code] NameVirtualHost * <VirtualHost *> DocumentRoot /cmsdata/cms/sites/home ServerName www.ocms.com ErrorLog /usr/local/apache/logs/o-error_log CustomLog /usr/local/apache/logs/o-access_log combined </VirtualHost> <VirtualHost *> DocumentRoot /cmsdata/cms/sites/us ServerName www.uscms.com ErrorLog /usr/local/apache/logs/ous-error_log CustomLog /usr/local/apache/logs/ous-access_log combined </VirtualHost> [/code] also add in your …

Member Avatar for tracedinesh
0
853
Member Avatar for jyotiu

Do you have activated the permissions for create and edit content types on User Management / Access Control ? Take a look if is enabled all CCK field types in modules.

Member Avatar for dorien
0
105
Member Avatar for Ancient Dragon
Member Avatar for Nick Evan
Member Avatar for cristane

US for americans wouldn't be the slogan? I was thinking on Hawaii...

Member Avatar for serkan sendur
0
186
Member Avatar for realestninja

How could you compete against a company with 1600 employees and 100 million users (myspace). What are you, lost your mind?

Member Avatar for cwarn23
0
983
Member Avatar for hacker9801

Wow, but it needs a lot of art. You could use inner divs and ajax to update the avatar directly without reloading the page. You will need custom CSS classes for each character to situate correctly the elements. The rest it's very simple.

Member Avatar for jmvazq
0
611
Member Avatar for linpagla

Could be from MSN Messenger, uPnP, try to close all programs and watch if the traffic changes. Hack attempts in proximity with neighbors happens usually with wireless communications. Also, try to scan your computer for spyware/malware (Spybot or Anti-Malware does).

Member Avatar for TheOgre
0
169
Member Avatar for sneekula

[QUOTE=Aia;848850]>California's unemployment number just jumped to 11.2%. California could be a country in is own right, comparable to some nations in Europe; capital and population wise. California is one of the most socialist state in USA, perhaps only second to New York. See the results.[/QUOTE] California is communist, isn't it? …

Member Avatar for GrimJack
0
478
Member Avatar for shasha821110

Use CURL or fsockopen() to get the result from Google, then simplexml_load_string() [code=php] $zip = 10001; $url = "http://news.google.com/news?pz=1&ned=us&hl=en&q=".$zip."&output=rss"; $ch = curl_init(); $timeout = 5; // set to zero for no timeout curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $result = curl_exec($ch); curl_close($ch); $rss = simplexml_load_string($result); [/code]

Member Avatar for martin5211
0
217
Member Avatar for Aia

I noticed that after three months 'far' from DaniWeb. A little obtrusive or maybe different, I ignored it without giving much attention in less than one second. Pop-up blockers are very common nowadays. I was thinking, would be great to implement with jQuery an accordion or another stuff to perform …

Member Avatar for martin5211
0
315
Member Avatar for jephthah

[QUOTE=jephthah;846254]Dear Sir, I find your capability to handle the situation to be entirely insufficient and I have therefore taken proactive measures to rectify matters to my personal tastes, exercised posthaste and with extreme prejudice. Best Regards.[/QUOTE] Is that a HR letter or a simple memo? Each first letter on each …

Member Avatar for martin5211
0
125
Member Avatar for genieuk

Look at the *third* code example: [URL="http://www.lotsofcode.com/php/validation.htm"]http://www.lotsofcode.com/php/validation.htm[/URL] is_numeric() is a common form to avoid characters from alphabet on age field.

Member Avatar for genieuk
0
265
Member Avatar for xgmx

What could make a difference a microbe to avoid being crushed on the floor. We should be more realistic?

Member Avatar for sneekula
0
161
Member Avatar for superyo

Enclose strings between quotes: [code=php] $query = "SELECT * FROM $table WHERE Username='".$user."' AND Password='".$pass."'"; [/code]

Member Avatar for martin5211
0
261
Member Avatar for Janepenelope

The same marketing text found at: [URL="http://www.tekla.com/international/solutions/building-construction/construction-companies/site-management/Pages/Default.aspx"]http://www.tekla.com/international/solutions/building-construction/construction-companies/site-management/Pages/Default.aspx[/URL] This is a construction company. Websites are managed differently. To maintain a site, first of all, programming tasks differs substantially from design tasks. Programming tools could be mainly editors, IDEs and debuggers. Design tools: image editors like Gimp, Photoshop; multimedia authoring packages like …

Member Avatar for martin5211
0
134
Member Avatar for misticles

Could you show me the error displayed? I can't find a syntax error in your code... the error seems to be located on the course year selection, subjects drop down appears to be filtered ok.

Member Avatar for misticles
0
149
Member Avatar for jakesee

Hosts configuration file have global scope -address translation for any user- and it is stored on one location e.g. /etc/hosts, for that reason you cannot create individual configuration files. For example, it is possible to build a script to delete that file and copy the file suitable for that user, …

Member Avatar for martin5211
0
220
Member Avatar for praveen_dusari

with a jQuery toggle() event you can switch the css display properties easily, to hide/unhide divs, or use an accordion type, with nice effects. So, you can make the three views on PHP, each of them enclosed on a single div, then use of unobtrusive javascript to generate an accordion …

Member Avatar for praveen_dusari
0
126
Member Avatar for BrandonLeaf

I didn't found your modem model at [URL="www.portforward.com"]www.portforward.com[/URL]. That site includes some guidelines to open/forward ports to your computer. I think this modem is working as bridge modem only, so your computer connects directly to your ISP. Try to look at your computer if the firewall blocks WoW.

Member Avatar for martin5211
0
109
Member Avatar for Designer_101

Basically, you can do: [code=php] $query = "SHOW COLUMNS FROM customer"; $result = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $fieldnames[] = $row[0]; } list($d, $m, $y) = explode('-', $fieldnames[2]); $timestamp = mktime(0,0,0,$m,$d,$y); $newts = strtotime("-7 days", $timestamp); $newdate = strftime("%d-%m-%y", $newts); $query = "ALTER TABLE customer ADD `".$newdate."` …

Member Avatar for martin5211
0
81
Member Avatar for csharplearner

[code=php] //$Text = "[url]http://www.google.com/[/url]"; $Text = "[url=http://www.google.com/]fdsfd_shttp://[/url]"; $Text = preg_replace("/\[url\]([a-z\:\/\.]*)\[\/url\]/", '<a href="javascript:go('${1}','new')">${1}</a>', $Text); $Text = preg_replace("/\[url\=([a-z\:\/\.]*)\]([a-zA-Z0-9_\:\/]*)\[\/url\]/", '<a href="javascript:go('${1}','new')">${2}</a>', $Text); echo $Text; [/code] [I]Missing braces...[/I]

Member Avatar for martin5211
0
513
Member Avatar for ahmadjhoney

Is that a question ? :) Most simple mail() tutorial [URL="http://email.about.com/cs/phpemailtips/qt/et031202.htm"]http://email.about.com/cs/phpemailtips/qt/et031202.htm[/URL]

Member Avatar for Designer_101
0
84
Member Avatar for alexgv14

If that is a DATETIME field type, you can use UNIX_TIMESTAMP() like this [icode]SELECT UNIX_TIMESTAMP(`date`) FROM `my_table`[/icode] then use date() to show it correctly

Member Avatar for Josh Connerty
0
161
Member Avatar for mad_girl

Some computers have issues if you do a test from external IP using the same computer due to a NAT conflict. If you want to test simply if your program works, 127.0.0.1 or localhost interface. To do a test between "machines" on a local area network, you can setup a …

Member Avatar for martin5211
0
89
Member Avatar for 7arouf

Notepad or TextEdit, faster, drag&drop of text, really easy to use.

Member Avatar for BzzBee
0
314
Member Avatar for SillyBilly

Use always the 'optimal resolution', that is the max available res. Activate Cleartype font smoothing from Display Properties.

Member Avatar for martin5211
0
107
Member Avatar for PsyberMind

The loop is before the mysql query... try to put backward [code=php] <?php $rows = mysql_num_rows($Recordset1); if($rows > 0) { mysql_data_seek($Recordset1, 0); $row_Recordset1 = mysql_fetch_assoc($Recordset1); } do { ?> <option value="<?php echo $row_Recordset1['channel_name']?>"><?php echo $row_Recordset1['channel_name']?></option> <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?> [/code]

Member Avatar for PsyberMind
0
257
Member Avatar for jameswoodhouse

If it is only an image URL, you can simply concatenate into an <img> tag after using the mysql query e.g. [icode]echo "<img src=\"". $row['image_url'] ."\" alt=\"\" />";[/icode] [code=php] <?php $query = "SELECT image_url FROM gallery WHERE id = ". mysql_real_escape_string($id); $result = mysql_query($query) or die(mysql_error()); $row = mysql_fetch_array($result) or …

Member Avatar for Designer_101
0
105
Member Avatar for jyotiu

I wrote a solution on your previous thread ([URL="http://www.daniweb.com/forums/thread186448.html"]http://www.daniweb.com/forums/thread186448.html[/URL])... this is almost a duplicated one. Why not to continue to develop your issue into your previous thread ?

Member Avatar for martin5211
0
133
Member Avatar for AlexGrim

made me remember Doom III and Paul Verhoeven's Starship Troopers. Fonts are too big, that could make me move away from display, the background movie is pixelated. Use much Action as you can, like dynamic loading. The site have a resemblance with glass and/or spatial images - holograms, perfect match …

Member Avatar for martin5211
0
100
Member Avatar for whitestream6

Leave MySQL user scope restricted only to localhost and/or 127.0.0.1, always create and use a different mysql user per database/site to avoid using root (if your mysql account is compromised e.g. through the configuration file stored in your web server, the user will not be able to drop all databases).

Member Avatar for martin5211
0
215
Member Avatar for SillyBilly
Member Avatar for jyotiu

Hi, I'm returning to this forum from long time ago... Looking at this issue it isn't difficult at all... just dealing a bit with regular expressions, preg_match_all() should be the function that is worth to use e.g. to store all links into an array: [code=php] $pattern = "/href=\x22([^\x22]*)\x22/"; preg_match_all($pattern, $string, …

Member Avatar for martin5211
0
281
Member Avatar for The Dude
Member Avatar for Jen0608
0
189
Member Avatar for martin5211

Recently I've seen a small issue when I submitted a new post, I was the last person on the thread, I think the new message should be added to the end of my last post instead of creating a new separated box with avatar/stats. With this feature I think the …

Member Avatar for martin5211
0
142
Member Avatar for cwarn23

I've fixed your code: [CODE=php] <?php if (!class_exists('gtk')) { die("Please load the php-gtk2 module in your php.ini\r\n"); } function pressed() { echo "Hello again - The button was pressed!\n"; } function pressed2() { echo "Hello again - The button was pressed!\n"; } $window = new GtkWindow(); $window->resize(800,600); $window->set_title('My Diary'); $window->connect_simple('destroy', …

Member Avatar for martin5211
0
138
Member Avatar for marcmm

Use a [ICODE]INNER JOIN[/ICODE] statement in your SQL query, placing it before [ICODE]WHERE[/ICODE]. You may be able to link a common ID field between the two tables and show a result into one set.

Member Avatar for marcmm
0
145
Member Avatar for The Dude

Ten million. Wow! Now this man will get a great compensation to continue getting drunk :) This is best than play a lottery. Find a bug on a US legal system.

Member Avatar for RootDead
0
160
Member Avatar for php2sheik

Session variables are generated on runtime by the interpreters, so, I think you will get always a different session regardless of it's PHP or Java. Anyway, if you want to pass a Java variable to PHP it's possible through a simple url query when the php script is loaded.

Member Avatar for digital-ether
0
183
Member Avatar for justted

I don't undertand the meaning of your question... Why not to use an incrementing/decrementing operators (e.g. $updown--) or assignment operator. The values inside the braces doesn't contain an assignment operator, so doesn't change their value when the condition is true.

Member Avatar for justted
0
2K
Member Avatar for duhasteme

Try to remove the leading slash on the code that generates the link.

Member Avatar for martin5211
0
88
Member Avatar for bcurt85

That isn't the American Dream ?? ;-) I mean, people can get a bit shabby sometimes, but this... is one for the books. It's weird that neighbours didn't perceive the bad smell from this apartment by no means the regular visits of the delivery guy... Take a look at the …

Member Avatar for Obeledeveloper
0
194
Member Avatar for Narayan15

Always enclose PHP stuff into a PHP block. The code should be: [icode]<a href="action.php?id=<?php echo $num; ?>">Text to be displayed</a>[/icode] or in this case printing a variable content: [icode]<a href="action.php?id=<?=$num?>">Text to be displayed</a>[/icode] Ops. Scru and me the same response. You can use the last example too.

Member Avatar for Narayan15
0
153
Member Avatar for Stefano Mtangoo
Member Avatar for justted

Facebook and another community sites achieves this optimal capacities performing an image scale reduction and using lossless formats like JPEG for every photo uploaded. Data storage can be a concern on higher web sites, I think CPU usage should be another factor to be considered. You can make a heavy …

Member Avatar for cwarn23
0
209
Member Avatar for moerpheus

A forum differs slightly from a custom CMS or a social networking site. The threads and posts can be viewed like the news on a backend. The most important points to get focus are: 1) the ACL or authentication part taking into account the moderators and users, as well as …

Member Avatar for martin5211
0
214

The End.