Search Results

Showing results 1 to 40 of 1000
Search took 0.08 seconds.
Search: Posts Made By: ShawnCplus
Forum: HTML and CSS 1 Day Ago
Replies: 1
Views: 91
Posted By ShawnCplus
Short answer: Yup. Unless you override it with a more specific selector and color it'll inherit (hence the Cascade in Cascading Style Sheets)
Forum: MySQL 1 Day Ago
Replies: 5
Views: 112
Posted By ShawnCplus
Evn f ur prfsnal u nd 2 shw efrt. <--- This is hard to read
Even if you're a professional you need to show effort before we help you.
Forum: MySQL 1 Day Ago
Replies: 5
Views: 112
Posted By ShawnCplus
I'm gonna go head and say no. (http://www.daniweb.com/forums/announcement8-2.html)
Forum: PHP 2 Days Ago
Replies: 4
Solved: GD Question
Views: 116
Posted By ShawnCplus
Exactly, like I said. You would have one file say image.php generate the image and in the file you wanted to show the image you'd do

<img src="image.php?someparam=somevalue" />
Forum: PHP 2 Days Ago
Replies: 4
Solved: GD Question
Views: 116
Posted By ShawnCplus
If you want to place it dynamically inside another page you would have one PHP file generate the image and then point to that in an <img> tag.

But to set the content-type just use:...
Forum: PHP 3 Days Ago
Replies: 15
Views: 256
Posted By ShawnCplus
What he said, it's been a long day :)
Forum: PHP 3 Days Ago
Replies: 15
Views: 256
Posted By ShawnCplus
Remove [] from the name of the field, PHP sees that and tries to turn it into an array.
Forum: PHP 3 Days Ago
Replies: 2
Views: 128
Posted By ShawnCplus
time BETWEEN '$endDateTime' AND '$startDateTime' Put quotes around the dates
Forum: HTML and CSS 4 Days Ago
Replies: 6
Views: 195
Posted By ShawnCplus
ul#navigation {
position: fixed;
top: 10px;
left: 10px;
}
/* place the ul with the ID navigation 10px from the top-left corner of the screen */
Forum: HTML and CSS 4 Days Ago
Replies: 6
Views: 195
Posted By ShawnCplus
When you use position:fixed you have to use the left and top CSS properties to position it on the page.
Forum: HTML and CSS 4 Days Ago
Replies: 6
Views: 195
Posted By ShawnCplus
Use position:fixed which will keep the element in the same place on the screen even if the user scrolls the page. Also, Java != Javascript
Forum: PHP 4 Days Ago
Replies: 3
Views: 150
Posted By ShawnCplus
!==
The === and !== operators check type along with value. 0 is an integer, NULL is NULL. so $somevar = 0; if ($somevar == NULL) { /* true */ } but if ($somevar === NULL) { /*false*/ }
Forum: HTML and CSS 4 Days Ago
Replies: 4
Views: 188
Posted By ShawnCplus
You could use a <span> tag or (this may not be cross-browser compatible) you can use the first-line pseudo-selector on the div like so

div#someID { font-size: 1.8em; }
div#someID:first-line {...
Forum: PHP 4 Days Ago
Replies: 4
Views: 143
Posted By ShawnCplus
http://php.net/mysql - Language documentation is your friend
Forum: PHP 7 Days Ago
Replies: 3
Solved: need HELP
Views: 174
Posted By ShawnCplus
Your first place you should go for any question related to PHP is the PHP documentation: http://php.net/for
Forum: PHP 9 Days Ago
Replies: 109
Views: 3,249
Posted By ShawnCplus
It doesn't matter what year you're talking about a hash is by definition impossible to reverse. A hash is ONE WAY. You may be able to use a supercomputer to calculate hash collisions which result in...
Forum: PHP 9 Days Ago
Replies: 109
Views: 3,249
Posted By ShawnCplus
OK, I gotta throw my 2 cents in here. There is no such thing as a de-hasher. A hash is ONE WAY. The only thing that can be done is to produce every possible string against the salt using the same...
Forum: PHP 9 Days Ago
Replies: 3
Views: 250
Posted By ShawnCplus
Don't use ereg (http://php.net/preg), and read the giant READ ME FAQ at the top of the PHP forums then come back here and ask your question again
Forum: PHP 10 Days Ago
Replies: 3
Views: 177
Posted By ShawnCplus
Don't use HTTP_COOKIE_VARS, use _COOKIE
http://php.net/$_COOKIE
Forum: Computer Science 14 Days Ago
Replies: 9
Views: 362
Posted By ShawnCplus
There's nothing in that one, but this seems to be missing some vowels, consonants and words in general.



Google is your friend, along with Wikipedia or essentially anything that exists that...
Forum: PHP 17 Days Ago
Replies: 1
Views: 123
Posted By ShawnCplus
Your } for your changePassword function is a {. Also, you don't need to specify public for all of those variables, scope defaults to public.
Forum: JavaScript / DHTML / AJAX 17 Days Ago
Replies: 1
Views: 276
Posted By ShawnCplus
Inside the function basicAjaxSwitch you are defining a variable basicAjaxSwitch so it's being overwritten. Just use a different variable name inside the function.
Forum: PHP 28 Days Ago
Replies: 5
Views: 165
Posted By ShawnCplus
exec only returns the response code, use shell_exec, that'll get all of the output so if imagemagick is producing errors you'll be able to see them.
Forum: PHP 28 Days Ago
Replies: 5
Views: 165
Posted By ShawnCplus
http://php.net/imagick
Forum: PHP 28 Days Ago
Replies: 1
Views: 140
Posted By ShawnCplus
Yes, "newnewnew" explains exactly what your problem is. And not using code tags helps us out even more. What exactly is your question?
Forum: PHP 28 Days Ago
Replies: 5
Views: 165
Posted By ShawnCplus
PHP has built-in ImageMagick functions, why are you using an external program?
Forum: JavaScript / DHTML / AJAX 28 Days Ago
Replies: 1
Views: 458
Posted By ShawnCplus
A) Use code tags
B) This is a PHP problem not Javascript
C)

<?xml version="1.0" encoding="UTF-8"?> // <---- this is your problem because of the <?
If you're in PHP you have to echo the <?xml...
Forum: PHP 29 Days Ago
Replies: 2
Views: 178
Posted By ShawnCplus
What do you mean by calling the table? Also, why're you using PDO for the connection then just completely ignoring it and using mysql_query anyway? http://php.net/pdo
Forum: JavaScript / DHTML / AJAX 29 Days Ago
Replies: 2
Views: 300
Posted By ShawnCplus
Show us your code otherwise we're just guessing
Forum: PHP 29 Days Ago
Replies: 3
Views: 228
Posted By ShawnCplus
As a short explanation strings are arrays of characters so if you want to get the 3rd letter in a string just do $string[2] (counting begines at 0)
Forum: PHP 29 Days Ago
Replies: 3
Views: 228
Posted By ShawnCplus
<?php
if ($handle = opendir('poems/')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && $file[0] == 'A') {
echo "$file\n <br />";
...
Forum: PHP 31 Days Ago
Replies: 6
Views: 236
Posted By ShawnCplus
If you see absolutely nothing then you may be getting an error. On the line before $source = ... put ini_set('display_errors', 'On'); error_reporting(E_ALL); If you're getting an error that will show...
Forum: PHP 31 Days Ago
Replies: 6
Views: 236
Posted By ShawnCplus
If the file is on the same server as the script then use the absolute path. If it's a remote file use the URL.
Forum: PHP 31 Days Ago
Replies: 6
Views: 236
Posted By ShawnCplus
You're not giving a full path, you're giving a web path. In the first example it is making a web request to fetch the file, in the second example it is directly accessing the filesystem. Make sure...
Forum: PHP 31 Days Ago
Replies: 7
Views: 227
Posted By ShawnCplus
If you want to save simulations for future use just use a damn database. Don't try to go against the grain when working with PHP. There are plenty of tools as your disposal for working with stuff...
Forum: PHP 31 Days Ago
Replies: 4
Views: 222
Posted By ShawnCplus
Get.......... an............. UPS............., hardware................ should.......... stop.............. the............... issue................ long............ before....................
Forum: PHP 31 Days Ago
Replies: 7
Views: 227
Posted By ShawnCplus
You can't, use a database. It's that simple.
Forum: PHP 32 Days Ago
Replies: 2
Views: 216
Posted By ShawnCplus
$mysqli->close();
Forum: PHP 32 Days Ago
Replies: 4
Views: 196
Posted By ShawnCplus
As for this, if you're just using it as a learning experience then it should be just that. It's not a very good learning experience if you just follow someone else's tutorial. The point of recreating...
Forum: PHP 32 Days Ago
Replies: 4
Views: 196
Posted By ShawnCplus
If you're trying to get the value of $id in that string then you have to concatenate because you're using single quotes.

echo '<a href="profile.php?id=' . $id . '">Enzo's Profile</a>';
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC