609 Posted Topics

Member Avatar for riwakawd

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.

Member Avatar for pixelsoul
0
3K
Member Avatar for riwakawd

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.

Member Avatar for pixelsoul
0
385
Member Avatar for iveto89

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/'); ?>` …

Member Avatar for iveto89
0
172
Member Avatar for harishprakash

Are you asking about the servers IP address or a visitors IP address?...

Member Avatar for harishprakash
0
88
Member Avatar for Chris920

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/

Member Avatar for pixelsoul
0
220
Member Avatar for showman13

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.

Member Avatar for showman13
0
234
Member Avatar for LONGWAY

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>

Member Avatar for LONGWAY
0
139
Member Avatar for dwlamb

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.

Member Avatar for dwlamb
0
204
Member Avatar for LONGWAY

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.

Member Avatar for LONGWAY
0
166
Member Avatar for janicemurby

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.

Member Avatar for pixelsoul
0
103
Member Avatar for PulsarScript

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

Member Avatar for pixelsoul
0
90
Member Avatar for samyakonline

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 …

Member Avatar for JorgeM
0
133
Member Avatar for Tom_11

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 = ""; …

Member Avatar for pixelsoul
0
181
Member Avatar for LONGWAY
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

Member Avatar for pixelsoul
0
109
Member Avatar for RikTelner

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, …

Member Avatar for pixelsoul
0
213
Member Avatar for erum

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/

Member Avatar for pixelsoul
0
97
Member Avatar for Bensirpent07

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 …

Member Avatar for pixelsoul
0
110
Member Avatar for ddanbe
Member Avatar for Vijaysurya

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

Member Avatar for gelani_1
0
582
Member Avatar for cgull

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.

Member Avatar for veedeoo
0
273
Member Avatar for Hosmer23

This is like "pretending" a screendoor is secure. You should never rely on Javascript for security.

Member Avatar for dasabel100
0
818
Member Avatar for Dani

> 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 …

Member Avatar for iConqueror
5
567
Member Avatar for Siberian

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 …

Member Avatar for Siberian
0
157
Member Avatar for queryEma

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/

Member Avatar for pixelsoul
0
318
Member Avatar for iAssistant
Member Avatar for Stuugie
0
4K
Member Avatar for chaitu11

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 …

Member Avatar for diafol
0
1K
Member Avatar for haviva

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)

Member Avatar for pixelsoul
0
49
Member Avatar for devianleong

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/

Member Avatar for pixelsoul
0
266
Member Avatar for ari$av3s

I like using JQuery for my animations (depending on what I am trying to animate). http://webdesignledger.com/tutorials/13-excellent-jquery-animation-techniques

Member Avatar for markjanyson
0
221
Member Avatar for kingneil

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/

Member Avatar for pixelsoul
0
216
Member Avatar for mwnt2014

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 …

Member Avatar for pixelsoul
0
112
Member Avatar for powerson65

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 …

Member Avatar for powerson65
0
15K
Member Avatar for nitin1

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.

Member Avatar for veedeoo
0
258
Member Avatar for minitauros

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 …

Member Avatar for Stuugie
0
652
Member Avatar for azareth
Member Avatar for sanjay@srvmedia

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">

Member Avatar for Ajay Gokhale
0
217
Member Avatar for debasisdas

"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...."

Member Avatar for James_28
8
17K
Member Avatar for BinaryDigit
Member Avatar for mpc123

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). …

Member Avatar for mpc123
0
190
Member Avatar for Kniggles

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'] ; } ?>

Member Avatar for kgavhane12
0
229
Member Avatar for wkwasniak

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.

Member Avatar for wkwasniak
0
336
Member Avatar for zentsang

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.

Member Avatar for zentsang
0
6K
Member Avatar for centenond

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 …

Member Avatar for centenond
0
192
Member Avatar for Stefce

I'm not really sure what you're asking, but it sort of sounds like you described YouTube or Vimeo.

Member Avatar for Stefce
0
120
Member Avatar for Andrew_9
Member Avatar for kannan mangalar

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.

Member Avatar for kannan mangalar
0
623
Member Avatar for Shahbaz_2

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 …

Member Avatar for jstfsklh211
0
310
Member Avatar for chrisschristou

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.

Member Avatar for chrisschristou
0
1K
Member Avatar for Violet_82

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/

Member Avatar for Violet_82
0
212
Member Avatar for klemme

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 …

Member Avatar for Troy III
0
149

The End.