Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
77% Quality Score
Upvotes Received
10
Posts with Upvotes
9
Upvoting Members
8
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
3 Commented Posts
~51.7K People Reached
About Me

Stan Kilgore is a man who was lucky enough not only to marry his best friend, but to have married a true geek girl.

Interests
Anime is my kryptonite, Diet Mountain Dew is my heroin, and cigarettes are the greatest thing that ever…
PC Specs
Atari 800XL w/ BLOAD Cassette Drive and Dual-Button Touchpad running AtariBasic. Them were the days...
Favorite Tags

128 Posted Topics

Member Avatar for sh4bbz

If you are planning on creating the PDF files on your end, you can always check out [URL="http://code.google.com/p/dompdf/"]this code[/URL] to see if it is what you need for your site application.

Member Avatar for diafol
0
1K
Member Avatar for cmgdev

[QUOTE=wrivera;1137394]there is none, PHP is a server side language you will need to echo out the image tag as you would write it using html[/QUOTE] Now that's not entirely true, wrivera. There's always this tag: [CODE] <?php // Insert an image ?> <img src="imagename.jpg"> <?php // End image insertion ?> …

Member Avatar for JorgeM
0
861
Member Avatar for Avasulthiris

Original poster hasn't posted in this thread since Sep 4th, 2009. Also, [URL="http://www.daniweb.com/forums/member541794.html"]Avasulthiris[/URL] stated [URL="http://www.daniweb.com/forums/post966525.html#post966525"]here[/URL] that the project HAD to be finished by Sep 4th, 2009. I don't think it is going to get marked "Resolved", and I'm pretty sure he isn't coming back to this thread anymore. :) Just …

Member Avatar for Dr. Raven
0
10K
Member Avatar for Wraithmanilian

If you ever go to [URL="http://www.hostip.info/"]http://www.hostip.info/[/URL], you will find a Community Geotarget IP Project. The great thing about it is that it is free to use. :) Now, this is just a snippet of code to begin working in the world of GeoIPs. There's a lot more info to be …

Member Avatar for sammry
0
443
Member Avatar for Dante2

Two suggestions: First, place a space between the closing quote and the word ORDER: [CODE=php] $commsql = "SELECT name FROM comments WHERE blog_id = " . $row['id'] . "ORDER BY dateposted;"; [/CODE] Also, if this does not fix the problem, then you might want to make sure that $commresult isn't …

Member Avatar for Dante2
0
311
Member Avatar for uselessninja

First, please use code tags like this: [CODE]$sql="SELECT GEN1MW,GEN1PF FROM generators where TIMESTOMPX LIKE '%$search%'";[/CODE] Also, answer in the code box.

Member Avatar for calebcook
0
342
Member Avatar for nikita.chandra

[URL="http://www.activestate.com/komodo-edit"]http://www.activestate.com/komodo-edit[/URL]

Member Avatar for KSS
0
107
Member Avatar for mwenyenia07
Member Avatar for jorjah
Member Avatar for Ezzaral
0
111
Member Avatar for 4789787

#1 - Please use code tags for code. #2 - Please post relevant details, like how it is NOT working. I am not going through that wall of text without knowing what I am looking for in general. #3 - You are not only moving the site from one server …

Member Avatar for chrishea
0
4K
Member Avatar for jorjah
Re: php

[CODE=php] <?php $membership_fee = 5; $activity_payment = 5; $total = $membership_fee+$activity_payment; echo "Total: ", $total; ?> [/CODE] Without better details, this covers what you asked.

Member Avatar for Wraithmanilian
0
59
Member Avatar for AngelicOne

Yep, divyakrishnan has the right idea. To quote the great [URL="http://php.net/manual/en/function.fopen.php"]php.net[/URL] site: [QUOTE=php.net]If the open fails, an error of level E_WARNING is generated.[/QUOTE] You COULD just turn on the E_WARNING flag, but it is much better to use E_ALL. It helps you to remind you about declarations, deprecated code, etc. …

Member Avatar for AngelicOne
0
308
Member Avatar for srdva59

You do realize that though you can open and read FROM .rar files, you can't actually create them? [URL="http://rarlab.com/"]WinRar's main site[/URL]. If you're looking to open user-uploaded rar and zip files (the thought which scares the living hell out of me) then you will probably want to just stick with …

Member Avatar for srdva59
0
1K
Member Avatar for srdva59

This question should be moved to the Software Development area under the appropriate section, depending on what the .ocx file is written for. If you are just looking for general information, you can start here: [URL="http://support.microsoft.com/kb/146219"]http://support.microsoft.com/kb/146219[/URL]

Member Avatar for Wraithmanilian
0
133
Member Avatar for Kraai
Member Avatar for matricol
0
385
Member Avatar for shadowscape

Not sure if this really helps, but just taking a jab at the logic... If line 66 turns out to be true, then line 79 below it can NEVER be true, neither can line 82. Not sure exactly HOW your API works, but you might try looking into your logic …

Member Avatar for shadowscape
0
123
Member Avatar for avinashmalla

Here's another way, without changing anything in the sql file: [CODE] <?php // Name of the file $filename = '*****.sql'; // MySQL host $mysql_host = '*****'; // MySQL username $mysql_username = '*****'; // MySQL password $mysql_password = '*****'; // Database name $mysql_database = '*****'; ////////////////////////////////////////////////////////////////////////////////////////////// // Connect to MySQL server …

Member Avatar for sanchin
0
841
Member Avatar for didi00
Member Avatar for DarkBerzerk

Nowhere in the code do you actually account for the armor. You get its rating for the character, but do not actually apply it at all anywhere in the code. Hope this helps.

Member Avatar for DarkBerzerk
0
158
Member Avatar for lovell_82

the var "pwd" is being used for both the password of the user during registration as well as password for the database. Hope this helps, my 2¢.

Member Avatar for diafol
0
540
Member Avatar for Sorcher

Web hosts nowadays "police" copyrighted materials because they are sent "cease and desist" letters from lawyers or copyright holders. There's not but maybe a few foreign hosts that wouldn't pay attention to those letters. No host wants to lose their business over one customer. If what you have to stream …

Member Avatar for Wraithmanilian
0
143
Member Avatar for clarkthe

Are you talking about an actual IRC bot, or for another application, or a web page? The application determines the implementation.

Member Avatar for Wraithmanilian
0
66
Member Avatar for dornaled
Re: hi

It's not a function, but a reserved variable in php. Basically, when you set the method of your form output as "get" instead of "post", you can use this variable to retrieve the form contents. If your html contained: [CODE=html] ... <form action="process.php" method="get"> <input type="text" name="email" /> <input type="submit" …

Member Avatar for diafol
0
108
Member Avatar for alexia_net

Let's try going about this a little differently. If you have a good idea of where the php files are located that you will use, why not add their directories to the include path? You can follow [URL="http://php.net/manual/en/function.set-include-path.php"]this link[/URL] to see how you can add folders to the default path …

Member Avatar for tomato.pgn
0
842
Member Avatar for xxreenaxx1

Considering the example provided, I have to ask first, what type of database are you utilizing?

Member Avatar for xxreenaxx1
0
185
Member Avatar for justin_petrulis

No luck on my end. Is there a reason that you cannot use a newer version? Newer versions exist, and are highly recommended. Here's the updated link: [URL="http://rpm.pbone.net/index.php3?stat=26&dist=52&size=282254&name=php-soap-5.3.6-1.el5.remi.x86_64.rpm"]http://rpm.pbone.net/index.php3?stat=26&dist=52&size=282254&name=php-soap-5.3.6-1.el5.remi.x86_64.rpm[/URL] Hope this helps.

Member Avatar for justin_petrulis
0
268
Member Avatar for cliffcc

Try removing the default sender (sendmail_from) in your php.ini. That has helped my friends in the past.

Member Avatar for cliffcc
0
195
Member Avatar for codemonkey88

Have you tried [URL="http://us3.php.net/manual/en/function.addslashes.php"]addslashes()[/URL]?

Member Avatar for codemonkey88
0
199
Member Avatar for karthik_ppts

Change line 9 of the above code to: [CODE=php] echo "ERROR: $errno - $errstr"; [/CODE] ...and tell me what this error message says. Hope this helps.

Member Avatar for karthik_ppts
0
2K
Member Avatar for umeshMCA

This is just quick code, UNTESTED, but I think that this will get you in the direction that you are looking to go: thispage.php [CODE=php] <?php // Assuming you have set up the connection, let's play the get game if(isset($_GET['listtype'])) { $type = $_GET['selection']; } else { $type = "all"; …

Member Avatar for diafol
0
220
Member Avatar for Mars1936

Instead of checking, couldn't you just use REPLACE instead of INSERT in the MySQL command? If the insert was a duplicate, then it would delete and replace the old, basically re-copying itself. If it was unique, then it would just insert the data, at least that is how I understand …

Member Avatar for Mars1936
0
319
Member Avatar for narekm
Member Avatar for kanio

From what I read from the documentation, it looks like you have to add the rows in the sheet one at a time. Hence, from your code: [CODE=php] $xls = new Excel_XML('UTF-8', false, 'My Test Sheet'); $xls->addArray($data); $xls->generateXML('my-test'); [/CODE] You could, as a SIMPLISTIC example: [CODE=php] $xls = new Excel_XML('UTF-8', …

Member Avatar for Wraithmanilian
0
2K
Member Avatar for debasishgang7

You could simply create a function in the ajax that, when a user clicks "Log Off", sends a general message to the chat daemon letting users know that xxxx has logged off and updates their online status via php call. Sorry for no code, but I have absolutely NO idea …

Member Avatar for debasishgang7
0
133
Member Avatar for jpknoob

Have you tried changing the $_REQUEST to $_POST? I am not sure if it would make a difference or not in this case, but it may not hurt to try...

Member Avatar for KamranArshad
0
147
Member Avatar for jack jastin

I don't really think so... What are you trying to convert a web page into?

Member Avatar for metalix
0
110
Member Avatar for ubi_ct83

Well, there is a way to place the array into the database so that the array can be retrieved. First, use checkboxes in your form, like so: [CODE=html] <p>Apple <input type="checkbox" name="fruit[]" value="apple" /></p> <p>Grape <input type="checkbox" name="fruit[]" value="grape" /></p> <p>Peach <input type="checkbox" name="fruit[]" value="peach" /></p> <p>Rock <input type="checkbox" name="fruit[]" …

Member Avatar for Wraithmanilian
0
1K
Member Avatar for floatingDivs

Sure thing. Easy as pie, as well. First, go into the code of your index.php file in the wp-admin folder. Change this line of code... [CODE=php] $parent_file = 'index.php'; [/CODE] ...to whatever you want the new filename to be, such as xbhghr.php. Then save the file as that name. upload …

Member Avatar for Wraithmanilian
0
98
Member Avatar for jrotunda85

Well, to make sure the information is secure, I recommend setting the [I]secure[/I] flag to true during the [B]setcookie[/B] call. The [I]secure[/I] makes it so that the information in the cookie can only be sent if there is an SSL connection present. Hope this helps.

Member Avatar for Wraithmanilian
0
116
Member Avatar for mbarandao

It also goes without saying to make sure you "sterilize" user input if it is to be used to direct the user to a "password protected" area. Also, I tend to include a header in my code in "admin" areas that check to see if the right person is in …

Member Avatar for mbarandao
0
1K
Member Avatar for thijscream

This is JUST a guess, but I think that the MySQL error is telling you that you can't do two things at once here. You're asking the command to get the COUNT(*) total of ALL records (hence the asterisk) and then wanting the values of 'land', which apparently HAs to …

Member Avatar for Wraithmanilian
0
78
Member Avatar for Sydney123

This needs to be posted in the [Javascript](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) forum. > Hi there > > I have used a script available on the internet for a multiple drop down box ( Country/State/City ). Once the selection is updated I would like 3 different set of result to show in box : …

Member Avatar for Wraithmanilian
0
145
Member Avatar for tunde011

You haven't really provided enough information to get started. Are you using Wordpress? Joomla? Custom Code? What version, etc... Sorry for this answer, but my crystal ball is in the shop. ;)

Member Avatar for Wraithmanilian
0
80
Member Avatar for Wraithmanilian

This code is for a stand-alone file, named "thumbnail.php" or something similar. Once uploaded to your server, it can be called from inside an IMG tag. There are four options for this script without modifying anything. [LIST=1] [*]First, you can resize the image to a percentage of the original, as …

Member Avatar for Web Dev Rob
0
379
Member Avatar for EricIskhakov

How are you embedding the video into the page? If you are using Flash, there are ways to trigger events to update form values once a video has come to its end.

Member Avatar for Wraithmanilian
0
95
Member Avatar for partz21

Well, you could try this to catch the error instead of letting it be silent: [CODE] <?php mysql_connect("localhost","root","root") or die (mysql_error); mysql_select_db("test") or die (mysql_error); $ProductName = $_POST['ProductName']; $Price = $_POST['Price']; $Quantity = $_POST['Quantity']; $Description = $_POST['Description']; $query = "insert into ProductTable(ProductName,Price,Quantity,Description) value ('$ProductName','$Prioce','$Quantity','$Description')"; mysql_query($query) or die('\"'.$query.'\" Query failed: ' …

Member Avatar for diafol
0
76
Member Avatar for Lapixx

Well, there's also the option of having a forked php daemon with a unique id stored for each "conversation". I did this once with php for the daemon and flash for the interface. It creates a socket connection, and that's about as direct as you can get.

Member Avatar for Lapixx
0
85
Member Avatar for rahul8590
Member Avatar for idane

Obviously, this code snippet is inside of a loop which is retrieving the information from the database. Here's an idea. Try setting a counter and creating a new table row containing repeating headers. That way, every 30 rows or so, you'll have new headers so that when you scroll down, …

Member Avatar for rajarajan2017
0
99
Member Avatar for start_game316

You should be able to use jQuery to achieve this. You can find more information on jQuery here: [URL="http://jquery.com/"]http://jquery.com/[/URL]

Member Avatar for rajarajan2017
0
94

The End.