Search found 7948 matches

Actual Results

Post Posted: November 30th, 2014, 10:42 pm

I have 2 PMs in my outbox and they're both from 2011 :shock:

I just thought that those user's just never read them...

Post Posted: November 26th, 2014, 1:59 pm

It would always increase in numbers in the history section. What essentially ends up happening is instead of refreshing the page to display the results, you go to it to display the results. That's what happens when you press on a link to go from page to page. It displays history of where you've bein...

Post Posted: November 26th, 2014, 12:14 am

Yes, sorry. I have figured this out. The new link is: http://covertdev.com/profile/1/ The solution was actually simple... I needed the following CSS for those boxes.
CSS Code: [ Select ]
vertical-align: text-top;
I already have made a different design and moved on to it... I think it looks a bit better th...

Post Posted: November 13th, 2014, 7:37 pm

Besides the terrible design, I can't get the boxes to align correctly.

Here is the design

When the box is empty (has no text inside of it) it is displayed like it's supposed to (Box 4 and on to the last one), but when I add text to it, it jumps down like you see it there (the first three boxes).

Post Posted: November 13th, 2014, 4:34 pm

I was informed that there are different kinds of microsd cards for the phone expansion slot (for memory). The type of card determines the write speed of the card (or something like that... determines the speed which I assume to be the write speed). I've done some research on it and found out (or hav...

Post Posted: October 27th, 2014, 9:55 pm

Right click on the network adapter from the device manager view and click 'Check for changes' and if that doesn't yield anything, check for updates (search internet). Do you remember anything about what might have happened between the last time it did work and the first time it didn't work? Did you ...

Post Posted: October 27th, 2014, 9:51 pm

Here you go $escaped_values = array_map('mysql_real_escape_string', array_values($ja)); $values = "('".implode("'),('", $escaped_values) ."')\n"; $sql = "INSERT INTO `$wah`($columns) VALUES $values"; $sqlresult= mysqli_query($con,$sql); INSERT INTO table_name...

Post Posted: October 25th, 2014, 10:50 pm

I think the problem is the way I have my captcha generating class set-up...

I don't have time right now, I will work on it later tomorrow and see if I come across a solution. Thanks so much for your help so far :D hopefully I'll be able to get this thing going tomorrow.

Post Posted: October 25th, 2014, 10:37 pm

How do I create a trigger? I just want it to be a button.

Post Posted: October 25th, 2014, 9:00 pm

Any help on how I could reload the DIV? JavaScript, AJAX and jQuery are above my head so I don't understand the solutions available on the net. I need someone to help me how to do that in my particular case.

Post Posted: October 25th, 2014, 8:35 pm

I can, that was what I was confused about that JavaScript thing... most likely I just don't understand how to use it and it confused me.

Post Posted: October 25th, 2014, 8:27 pm

Just that... I press the play button to play the audio, the button turns 90 degrees and the music starts playing... unless the problem I had with HTML5 persisted in JavaScript and SWF player as well... as I tried both of those.

Post Posted: October 25th, 2014, 8:20 pm

I don't know JavaScript and find them to be a bit confusing. I've tried SoundManager 2, but that did nothing but confuse me. It still used HTML to actually sound it out but used JavaScript to animate the play/pause button... what is more annoying is the source file for SoundManager 2 is around 3000 ...

Post Posted: October 25th, 2014, 8:12 pm

By the way, as a side note, I would recommend steering away from MySQL and learning MySQLi as MySQL is deprecated in php5 and going to be completely removed soon.

Post Posted: October 25th, 2014, 8:05 pm

PHP Code: [ Select ]
$sql = "INSERT INTO `$wah`($columns) VALUES ('$values')";
That is the line of code that is using the imploded line. The variable is wrapped in single quotes. Lets say that code generates the following SQL query (using your implode without those single quotes): INSERT INTO `wah` ...

Post Posted: October 25th, 2014, 7:59 pm

I've created a CAPTCHA system that also generates the audio for the captcha. Everything seems to work perfectly fine with it :D Here is an example of both versions (Math captcha and a regular string)... you have to hit refresh a couple of times in order to see another version as the system chooses o...

Post Posted: October 25th, 2014, 7:16 pm

I think the following would also fix your previous code. And you won't have to use the loop
PHP Code: [ Select ]
$values = implode("', '", $escaped_values);

Notice the added single quotes.

Post Posted: October 21st, 2014, 10:02 pm

Did you try the 'Fix Connections' button Internet Explorer provides you with? You may be connected to your wireless network, but is the network connected to the internet? Sometimes, resetting/restarting your router fixes that issue. You may also try clearing your DNS cache: 1) Open up command prompt...

Post Posted: October 21st, 2014, 1:02 pm

Well, I finally was able to fix the problem. The issue was happening from the HTML page where the HTML5 audio element was defined. The source was constant and apparently Firefox caches it even with the no-cache headers... adding ' ?aud=<?php echo time(); ?> ' to the end of audio.php fixed the ...

Post Posted: October 19th, 2014, 9:59 pm

Here is the code generating the MP3 file [php]<?php // Starting the session so we could access the session variables session_start(); // Including our mp3 stitching class include_once('stitch_mp3.php'); // The captcha word we are making the audio for $captcha = $_SESSION['stuff']; // ...

Post Posted: October 19th, 2014, 9:15 pm

I think the issue I'm having would be more evident (more understandable) if you open that page in Firefox and in IE11 (or chrome), and then play the audio for the first generated captcha (in both browsers) and then reload the page (in both browsers) and then listen to the audio again (in both browse...

Post Posted: October 17th, 2014, 9:46 pm

That makes sense... what got me confused though, is the following:
PHP Code: [ Select ]
$s = $start = $this->start($contents);
 
if($s === false)
{
    return false;
}
else
{
    $contents = substr($contents, $start);
}
 
  1. $s = $start = $this->start($contents);
  2.  
  3. if($s === false)
  4. {
  5.     return false;
  6. }
  7. else
  8. {
  9.     $contents = substr($contents, $start);
  10. }
  11.  

It seems like the script is expecting both of those variables to hold different things...

Post Posted: October 16th, 2014, 7:37 pm

It's not the audio creating script. As it turns out, it has to do with the way Firefox reads HTML5 tags...

HTML5 either caches the created audio file or something, but it works if I just open audio.php on it's own

Post Posted: October 16th, 2014, 5:57 pm

I'm creating an audio extension to the captcha's I've created before. The audio thing is all created and everything like that, the only thing is, is when I refresh the page and generate a new captcha image, the audio file doesn't seem to be refreshing... Here is the example of what I'm talking about...

Post Posted: October 16th, 2014, 5:12 pm

I'm working on a project, and during searching for something for the project, I ran across the following line of code:
PHP Code: [ Select ]
$s = $start = $this->start($contents);
What I don't understand is why does it have two variables and two equal signs? What does/would '$s' hold and what does/would '$s...

Post Posted: October 16th, 2014, 4:45 pm

I've never used CKEditor before, but I don't think it comes by default with the capabilities of keeping original formatting of pasted text from Word.

You're in luck though, as there is a plugin for that for CKEditor. Hope this helps :thumbsup:

Post Posted: October 10th, 2014, 2:30 am

Attachments:
coding problems.jpg

Most can relate

Post Posted: May 13th, 2014, 10:32 pm

You're right... none are necessarily the 'right' way, but I'm hoping to find the best way. One thing about being self-taught is that you miss a lot of stuff when starting to learn programming so when you get to developing programs, even though you know the general idea of how to accomplish something...

Post Posted: May 13th, 2014, 4:34 pm

The thing with PDO is, I'm using MySQLi. I'm guessing it's a bit faster then PDO. Never heard of strategy pattern, though I have thought about doing it that way, but for some reason I wanted to use an abstract class instead, rather then a wrapper (kind of) class that chooses the type of mailer/db to...
  • Sort by
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.