Search found 518 matches

Actual Results

Post Posted: January 14th, 2010, 6:18 pm

from What is PHP's mysqli Extension? The mysqli extension, or as it is sometimes known, the MySQL improved extension, was developed to take advantage of new features found in MySQL systems versions 4.1.3 and newer. The mysqli extension is included with PHP versions 5 and later. The mysqli ex...

Post Posted: January 14th, 2010, 6:17 pm

How can I automate the 1:1 copy of cd/dvd media without needing any other user input other than detection of source and blank media in appropriate slots? Task description Place a cd/dvd in drive A, and a blank cd/dvd in drive B, and upon detection, a 1 to 1 copy is automatically started, and upon co...

Post Posted: January 12th, 2009, 5:11 pm

I want to allow a user of my c# application (not web, standalone) to be able to save certain data that's accessible later. What method can I use to save such information? Is there another way besides a database like a data file? If so, what format and how to delimit it? Does visual c# express have a...

Post Posted: October 23rd, 2008, 11:41 pm

hehe, thanks Polish, I found that exact same article...too bad I can't seem to get it to work properly.

But I do appreciate you trying, so thanks much for that!

Post Posted: October 23rd, 2008, 6:10 pm Will give you some idea about what punchout is. And although cookies are not a requirement per se, it is how most ecommerce sites function that are punchout enabled. My question is much simpler though, because the "why I need it?" question is proba...

Post Posted: October 22nd, 2008, 8:39 am

Instead of determining it's none of my concern, you might want to ask first, in case there was something you didn't think about. There are websites out there that require legitimate 3rd party cookies placed on the website, such as for eProcurement systems, SAP, Punchout, etc. If the client's browser...

Post Posted: October 21st, 2008, 10:32 pm

How can I check if 3rd party cookies are enabled on the clients browser who is visiting my website?

Checking if cookies are enabled isn't too hard, but I want to check for 3rd party cookies specifically.

ASP or Javascript preferred.


Post Posted: May 30th, 2008, 3:40 pm

Your question is so jumbled up, i have no clue what you're posting at this point...maybe try to clarify it if it's important.

Post Posted: May 30th, 2008, 2:49 pm

Also take a look at your multiple nested while loops. You have some parenthetical issues there, not to mention the logical/complexity issues.

Post Posted: May 30th, 2008, 2:33 pm

A quick DELETE query will take care of the database.
Code: [ Select ]
DELETE from table_name where id=1
The filesystem deletion would require the directory to be CHMOD to 777 and then do a quick check if file exists and delete if so: [php]if(file_exists(<<file>>) { unlink(<<file>>...

Post Posted: May 28th, 2008, 12:20 pm

Or, one can use Python and the last comma issue is dealt with by virtue of a great programming language.

Post Posted: May 23rd, 2008, 2:19 pm

../ takes you back a dir, ../../ takes you back 2 dirs. ./ is current dir.

Post Posted: April 24th, 2008, 5:17 pm

i'm looking for a way to recover files from a hard drive that i have formatted. I tried using active undelete, and it works but only on certain file types. I'm looking to recover *.dv files which I believe is the extension of a movie file when you capture it from a digital video camera using adobe p...

Post Posted: April 5th, 2008, 2:41 pm

I actuall had to write it in ASP not PHP, so I used base validation and DNS validation...

followed here

Post Posted: April 5th, 2008, 12:51 pm

Nice, thanks neksus.

By the way, I never wanted your code, just the idea behind how it woudl be done. I can code it myself.

Post Posted: April 4th, 2008, 5:32 pm

So what is the way?

Post Posted: April 4th, 2008, 1:52 pm

Can't do that because of the fact that the forms are for anonymous people, not required to join or be a member or anything like that.

Captcha is it I think.

Thanks again.

Post Posted: April 4th, 2008, 1:43 pm

Yeah, that might be the best way to go.

If there are any other suggestions, please let me know. Or else, I'll go with the Captcha idea.


Post Posted: April 4th, 2008, 1:36 pm

if you preg_match, all it does it validates the format, so a would do just fine.

I'm getting random emails from random people with BS information on the forms...I need to stop that from happening.

Post Posted: April 4th, 2008, 1:18 pm

Quite urgent...any help please?

Post Posted: April 4th, 2008, 11:40 am

What is the best way to validate an email address being submitted in a form? I already have the javascript portion of it for syntactical purposes. Now I need to know how I can validate the email actually exists or not. SMTP validation I assume, but from what I read, that's a very slow process. Any s...

Post Posted: April 2nd, 2008, 7:29 pm

Understood. Thanks joe.

I thought there may have been a more efficient way. Guess not.

Post Posted: April 2nd, 2008, 5:09 pm

Well, that's exactly my query example I gave above :D

what i'm looking for is something like..

Code: [ Select ]
UPDATE 'table' set field_name = replace(field_name,'search_value','replace_value') IF live_link(search_value));

where live_link would be a PHP function return true or false, etc.

Post Posted: April 2nd, 2008, 4:37 pm

That would reuqire me to run 2 queries, one for retrieving the URL, checking if it's live or not, and then UPDATING or not accordingly.

Is it possible to do in 1 query?

remember: search_value IS the URL we're checking to see if it's live or not.

Post Posted: April 2nd, 2008, 4:02 pm

Hi, I want to run a REPLACE query, like this:
Code: [ Select ]
UPDATE `table` set field_name = replace(field_name,'search_value','replace_value') where id=\"$id\"";
But I want to also check and see if the search_value that's found is a live link. How can I do this using one query? Please ...

Post Posted: April 2nd, 2008, 2:36 am

I wrote a PHP script that goes through the mysql database of vbulletin and modifies the posts as I wish. The only problem I'm having is that, even though the post is actually being modified correctly, it's not being displayed. The interesting part is that when I click on 'edit' on the post, I'm able...

Post Posted: March 17th, 2008, 11:08 am

Try placing the "Thank you" text in a DIV on it's own and give it the correct positioning values.

Post Posted: March 16th, 2008, 1:00 pm

You can use
Code: [ Select ]

if you need to further simplify, you can use substr() -- just google if it needed.

Post Posted: March 16th, 2008, 12:39 pm

Also, might be a good idea to output $count right after
Code: [ Select ]
$count = mysql_num_rows($result);
but before the if statement, to see what the value is at that point.
  • Sort by

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