609 Posted Topics
Re: I would setup my delete function to pass an array of the files to the function that I wanted to delete, and then loop through the array in the function. | |
Re: I'm not too familair with CI, but have you tried to dump the serialized string? `var_dump($query->row('setting'))` Doing that might possibly give you some more insight to why it's coming back with an error message. | |
Re: Hmm, class names are not case sensitive, but I believe I remember hearing of an issue with autoload etc being case sensitive for what ever reason. Also, you're missing a closing ';' after your function. try `<?php echo form_open('Boot/index'); ?>` if that doesn't work, then try `<?php echo form_open('Boot/index/'); ?>` … | |
Re: Are you asking about the servers IP address or a visitors IP address?... | |
Re: What you're asking about is called a CDN (Content Delivery Network). Here is a link with a list of some different CDNs (ignore the Wordpress stuff). http://premium.wpmudev.org/blog/top-cdn-services-to-make-your-wordpress-site-blazingly-fast/ | |
Re: I don't know what backend language you're using but, you could try pulling all records that are not marked as deleted and then select a random one from the results in the array. | |
Re: As per the documentation for that plugin http://bxslider.com/examples/image-slideshow-captions $('.bxslider').bxSlider({ mode: 'fade', captions: true }); <ul class="bxslider"> <li><a href=""><img src="/images/pic1.jpg" title="title 1" /></a></li> <li><a href=""><img src="/images/pic2.jpg" title="title 2" /></a></li> <li><a href=""><img src="/images/pic3.jpg" title="title 3" /></a></li> <li><a href=""><img src="/images/pic4.jpg" title="title 4" /></a></li> </ul> | |
Re: I did a quick test with your jQuery function on my dev box here and I am not able to duplicate the issue. It seems to be working as designed for me. Perhaps an issue with your Codeigniter query, I am not sure. | |
Re: tested the plugin and it works fine in a jsFiddle http://jsfiddle.net/pixelsoul/Lz1oLgbf/ You most likely have something else on your page that is breaking it. | |
Re: It looks like you're using the logo as a background? In that case you would need to use `background-size: 100% auto;` with whatever dimension you need. Can be set to pixels etc as well. | |
Re: There are a large number of tutorials online for creating calculators in PHP. Example: http://www.hungrypiranha.org/make-a-website/online-calculator From the PHP manual http://php.net/language.operators.arithmetic | |
Re: I don't know much about ASP, but I've never had any problems with error checking in PHP. PHP's market share for web applications is much much greater than ASP, so I would have to say PHP. It's really just a matter of what you're more confortable with. You can almost … | |
Re: Something like this would probably work <?php $timestamp = mktime(0,0,0,$cMonth,1,$cYear); $maxday = date("t",$timestamp); $thismonth = getdate ($timestamp); $today = getdate(); $startday = $thismonth['wday']; for ($i=0; $i<($maxday+$startday); $i++) { if($today['mday'] == $i - $startday + 1 && $today['mon'] == $cMonth && $today['year'] == $cYear){ $currentDay = "bgcolor='red'"; }else{ $currentDay = ""; … | |
Re: Here are a couple points of information about the use of $ in JavaScript and jQuery more specifically. http://www.smashingmagazine.com/2014/05/29/mystery-jquery-object-syntax-basic-introduction/ http://www.authenticsociety.com/blog/JavaScript_DollarSign | |
Re: Not sure if this is the only reason, but you're not closing your jQuery function properly. $("#input").keyup(function (e) { if (e.keyCode == 13) { alert("Linux deyum!"); var address = document.getElementById("address").value; geocoder.geocode( { 'address': address}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location); var marker = new google.maps.Marker({ map: map, … | |
Re: Sounds like you want to do something like this? http://www.jqueryscript.net/demo/Buttons-with-Built-in-Loading-Indicators-For-Bootsrap-3-Ladda-Bootstrap/ | |
Re: You don't **have** to go to college to be a successful web developer if you're good at learning on your own. There are a ton of resources online to learn everything you need to know to be successful. The great thing about web development is you don't need much outside … | |
Re: Here is some information on that http://www.peachpit.com/articles/article.aspx?p=29307&seqNum=4 http://www.codeproject.com/Articles/3337/XML-and-JavaScript | |
Re: You probably have something else on the page that is causing it. I don't see it here http://pixelsoul.com/data/bootstrap/test.html You will need to post a link to the page or post the relavent code. | |
Re: This is like "pretending" a screendoor is secure. You should never rely on Javascript for security. | |
Re: > Other websites I've contacted in the past were able to, and did, delete the content immediately I can't help but laugh at this and think of that publicist for Beyonce that tried to get the ugly picture of her removed from the internet. I know it is a bit … | |
Re: I doubt it is a server/php configuration if you're getting to /wp-admin without being redirected and it remains blank. You probably have some issue with a plugin/theme or a change to functions.php that had been added that is causing the problem. Did you recently upgrade the install or make changes … | |
Re: You would want to most likely use `.animate()`. I'm not exactly sure of the effect you're going for, but this codrops tutorial might be of interest http://tympanus.net/codrops/2010/11/14/animated-portfolio-gallery/ | |
Re: 68f / 20c - Not bad for this part of the world at this time of the year. | |
Re: There are some solutions out there that claim to be able to do this, but i've heard from others that they are all very buggy, and they're not worth investing time into. You would most likely be better off using another language like Python, Java, or another language that natively … ![]() | |
Re: You won't get what you want with using just HTML and PHP. If you want something that is real time you would be better off using something like [NodeJS, Socket.io, and ExpressJS](http://code.tutsplus.com/tutorials/real-time-chat-with-nodejs-socketio-and-expressjs--net-31708) | |
Re: The jQuery extension that **iamthwee** provided looks pretty decent. If you were still wanting to see an example of how you could have coded this (or in this case, how I might have done it), here is a fiddle I have that should help http://jsfiddle.net/pixelsoul/WzrKW/ | |
Re: I like using JQuery for my animations (depending on what I am trying to animate). http://webdesignledger.com/tutorials/13-excellent-jquery-animation-techniques | |
Re: I can get the links from that site using file_get_contents, DOMDocument, and DOMXPath. If you're looking for more of a browser type behavior, I would recommend looking at a library like http://phantomjs.org/ | |
Re: Here is a basic example of how you could do it using [substring_index](https://dev.mysql.com/doc/refman/4.1/en/string-functions.html#function_substring-index) `UPDATE Table SET column = SUBSTRING_INDEX(column, '/', 1);` This doesn't take into account of the url having a protocol. It just gets everything before the first '/', but this should give an idea on where you can … | |
Re: For the same reason that I would not store credentials in a cookie, is the same reason I would not store credentials in local storage. I would treat it the same way I would treat a cookie. Authenticate a user against hashed credentials in a database and then if they … | |
Re: I have done some basic scrapping using [DOMXPath](http://www.php.net/manual/en/class.domxpath.php) class which works pretty efficiently. I'm sure you can find some information online about using it to parse html to do what you want. | |
Re: If you plan on going through Oregon, you might want to do that towards the end of your trip, or you might end up spending the entire time there ;-) Crater Lake and the Oregon coast are pretty popular places. If you're wanting to see some amazing wilderness and you're … | |
Re: If you put the radio buttons into a group, only one is allowed to be selected at any given time. <input type="radio" name="group1" value="button1"> <input type="radio" name="group1" value="button2"> <input type="radio" name="group1" value="button3"> <input type="radio" name="group2" value="button4"> <input type="radio" name="group2" value="button5"> <input type="radio" name="group2" value="button6"> | |
Re: "I don't understand why people go to the extreme of killing someone else just because they don't like them, or they disagree with them...." | |
Re: You may want to make sure that `$file['title']` actually has a value by just echoing it out `echo $file['title'];`. If it doesn't have a value then the issue is most likely somewhere else before this when you created the array (assuming you prob created it off an upload from $_FILES). … | |
Re: There is no column called SUM(brick). You need to set the column name in the query after the column sum. <?php $result = mysql_query($con"SELECT SUM(brick) AS 'brick' FROM goodship"); while($row=mysql_fetch_array($result)) { echo $row['brick'] ; } ?> | |
Re: I must add as well, make sure you're not relying solely on javascript for your data validation. It should really only be used for user experience and that is all. Always do your final data validation server side with PHP. | |
![]() | Re: This should get your started http://jsfiddle.net/pixelsoul/p3xDh/ You would have to play around with it some to get it to do exactly what you want probably. ![]() |
Re: The code to check if the file exists is correct, so I am going to say that your path to the file that you're using is wrong. This `$_SERVER['DOCUMENT_ROOT']` is going to be the root directory for your hosted files. Unless the file exists in there (example: /home/public_html/) then this … | |
Re: I'm not really sure what you're asking, but it sort of sounds like you described YouTube or Vimeo. | |
Re: You're asking us how to use this person's class they wrote http://www.phpclasses.org/package/6279-PHP-Parse-and-retrieve-data-from-Excel-XLS-files.html I am not familiar with the class, but a quick look over and I don't see any mention to get the column values. Unfortunately, I don't have time to test the class out right now myself. | |
Re: When you say "over my network", do you mean over your LAN? Or outside of your LAN? If you just want to be able to get to it on your local network, and assuming it is hosted on port 80, you should be able to just put the name of … | |
Re: The function you have works as we would expect. What exactly did you want, or think would happen? http://jsfiddle.net/pixelsoul/EeY2f/ The PHP isn't relevant here, by the way. No real point in including it in your mark up. | |
Re: I love messing around making jQuery plugins. Here is yours working with the .each() all though, not really sure why you would need it. It should set the background color on all of them already. http://jsfiddle.net/pixelsoul/yQFJA/ | |
Re: This made me a little curious since I have never had a reason to do this and who knows, I might have a reason for it later. This may be useful http://jsfiddle.net/pixelsoul/E3jF9/ It goes through all of the checked checkboxes in a form and gets their names. It adds them … |
The End.