samaru 145 a.k.a inscissor Team Colleague

Ok, so I'm Dani (ironic enough)

Oh no! Not another Dani! What's this world coming to! :cool: Anywho, glad to have you and the new members aboard. I hope you like it here. Have fun and watnot.

samaru 145 a.k.a inscissor Team Colleague

and small sausage.

samaru 145 a.k.a inscissor Team Colleague

Just thought I would drop a line to introduce myself. My name is Charlie and until recently I've managed to keep my head above water when it comes to keeping my PC running. Lately with all of the spyware and whatnot I'm starting to encounter problems that are a bit beyond my basic repair skills (i.e. reboot). Hope to find some individuals in the know who can help me so I don't end up giving my comp a serious thrashing. As for some basic background, I'm a guitar player who's into just about anything from industrial to classic rock. I collect original comic art, comic books and assorted comic related crap that I really don't need but may some day finance that house in the hamptons (alright, maybe just the downpayment on a small house in the suburbs of Columbus is more realistic). I also enjoy anime and cartoons such as the simpsons, family guy and futurama.

A person who's a musician, likes comics, likes the Simpsons/Family Guy, AND likes Anime? I think I just found my long lost brother. We share quite a lot in common my friend. You'll go far in life. ^_^

samaru 145 a.k.a inscissor Team Colleague

Yeah, it's the final release. Ah, I remember. You had trouble connecting to MySQL, right?

samaru 145 a.k.a inscissor Team Colleague

and ate it.

samaru 145 a.k.a inscissor Team Colleague

Are you carrying duplicate URL variables in the URL querystring? Because if you are, be aware of the bug in CFMX. If you have something like this:

somepage.cfm?data=peter&data=parker

and you retrieve data, data will not be equal to "parker" (the last variable assigned), but it's a list of both data's: "peter, parker" - so your illegal character might be the comma.

This was a bug for a while. I don't know if they fixed it yet. If it's not a bug, it's a bad feature in my opinion. It wasn't around in versions prior to CFMX.

samaru 145 a.k.a inscissor Team Colleague

As usual, download and read about it at http://www.php.net/

samaru 145 a.k.a inscissor Team Colleague

You can still use VB.NET and package up in an installation to include the .NET framework so the user wouldn't have to download it and install it. If you still want to stick to the BASIC language, I suggest you try Visual Basic 6.0.

samaru 145 a.k.a inscissor Team Colleague

and orgasmically delicious.

samaru 145 a.k.a inscissor Team Colleague

If you're a spammer, that's a very clever way to plug your toolbar.

samaru 145 a.k.a inscissor Team Colleague

Keep in mind that phpMyAdmin, or any web application (like forums) that imports a file with SQL statements, usually craps out if it's bigger than 1 meg. You'll have to either split the file into smaller files or run a mysql command through the console to load up the big file.

samaru 145 a.k.a inscissor Team Colleague

Usually when mods and admins post a link to suggestions on how to get help...it usually means they dont know...

here I go time to get flamed by the admins... bring it on!

take care, if you need any more help with anything ASK ME FIRST not the mods or admins.

If you're in the mood to insult and disobey the rules, then I suggest you go elsewhere. Those three comments weren't necessary. No one insulted you. The rules say not to flame or post material that might start a flame. Please read them and obey them.

The rules are found here: http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_faq#faq_rules
I could care less what you think about me. The thing I care about is that people follow the rules and we have a good community.

samaru 145 a.k.a inscissor Team Colleague

You can also use these public proxy servers where it will "give you" an IP address:
http://www.publicproxyservers.com/index.html

Keep in mind though, that because they are public, the web site that banned you might have a list of these IP addresses already and not allow you in. However, don't feel too secure even if you use a proxy. You can still be detected by someone who knows what they're doing.

samaru 145 a.k.a inscissor Team Colleague

You would have to scan your imap/pop3 server, read the e-mail address, and reply using your e-mail server. So the script would be broken up into two parts. The first is the one that reads the imap/pop3 server, than the other part would be where it gets that e-mail address and sends out an e-mail. You can find code to do both by searching the php.net or hotscripts.com. Search for keywords like "send mail" and "receive mail" or something to that effect.

If you want it to run automatically, you can set up a cron job to run whatever script you make.

samaru 145 a.k.a inscissor Team Colleague

Cool. Glad it's working for ya.

samaru 145 a.k.a inscissor Team Colleague
samaru 145 a.k.a inscissor Team Colleague

If you weren't a super mod, I'd ban you. =) Cool that it works.

samaru 145 a.k.a inscissor Team Colleague

Don't create the same thread four times in different forums. It's against the rules which you never even took the time to read. I hate cleaning up someone's mess. Please don't do it again. Thank you.

samaru 145 a.k.a inscissor Team Colleague

Anytime you see the word framework in software development, it means it's a collection of things to make your job easier. The simplest answer I could give you is that the .NET framework is a collection of tools to make software development better, easier, and faster. It comes with an array of languages (C#, VB.NET, J#, to name a few), compilers, pre-made code and utilities in classes, controls, assemblies, etc. With these tools, if you wanted to create a server, for example, there would be already code available in that's part of the framework to make your job easier. Thus the word "framework" because you've used all these tools to build something.

Best place to start would be http://asp.net.

samaru 145 a.k.a inscissor Team Colleague

1. Why is this simple script not working?

For starters, if you want it to loop, switch the > to < in your loop. You're terminating the condition right off the bat, so it's not looping.

2. Is there a better way of doing this?

I use this function. Here's the function with an example:

<?
// Get the first $wordcount words from a sentence - used for long descriptions.
function get_words($str, $wordcount) {
$words=preg_split('/([\s.,;]+)/',$str,$wordcount+1,PREG_SPLIT_DELIM_CAPTURE);
array_pop($words);
return(implode('',$words)); 
} 
 
$data = "this is a piece of text yeah baby yeah!";
$newdata = get_words($data, 4);
echo $newdata;
?>
samaru 145 a.k.a inscissor Team Colleague

Have you tried searching imdb's soundtrack listing for this movie? You can cross reference the titles with pieces of lyrics on google (if there are lyrics). I've seen the movie but don't remember the song... doh.

samaru 145 a.k.a inscissor Team Colleague
samaru 145 a.k.a inscissor Team Colleague

about toasted salami

samaru 145 a.k.a inscissor Team Colleague

You guys should lower down that "default number" of people or find a better way to prevent "spamming" one's reputation. The current rule simply sucks...

There is no other way. Our rules don't suck. The people that take advantage of what we offer suck. If we went any lower, then you got some scumbag that creates three accounts and repping himself using annonymous proxies. The other forums that I'm a member of have more than five, ranging in the 10's and 20's. The rep feature isn't suppose to be a crucial thing anyways. You can't measure coolness/knowledge by a mere number.

samaru 145 a.k.a inscissor Team Colleague

drinking sewage water

samaru 145 a.k.a inscissor Team Colleague

huh? --> WTF?

samaru 145 a.k.a inscissor Team Colleague

This isn't really a computer problem, just something strange that happened. A while back, when the power went out for a few days on the northern east coast, the power went out at the same exact time I unplugged my computer, which I do on very rare occassions.

samaru 145 a.k.a inscissor Team Colleague

Ditto on what BinaryMayhem said. Oh, and off this goes to the PHP forum.

samaru 145 a.k.a inscissor Team Colleague

I will go for this exam after I get my i-Net+ and Java cert. This certification looks delicious, however.

samaru 145 a.k.a inscissor Team Colleague

I don't think php.net's tutorial is for the person just starting out with php web development.

samaru 145 a.k.a inscissor Team Colleague

I've tried everything I mentioned already except that game. I learned a heck of a lot.

samaru 145 a.k.a inscissor Team Colleague

I don't know your web development skills, but you can give a CMS a shot. Be aware, however, that because you're just learning PHP (not to mention the first time you develop a CMS) you might make some crucial mistakes in creating it. However, you just want a learning experience, right? Anyways, there's lots of documentation on the net for CMS and PHP, so I'm sure you can do it. In any case, here are a few ideas for web applications you can try:

Project Manager
E-Mail (Like Yahoo)
Address Book
Shopping Cart
Monopoly / Dungeons and Dragon Game Clone
Snippet Manager
Forum
Portal
Blog
Inventory Control
Invoice Management

samaru 145 a.k.a inscissor Team Colleague

If you're trying to make a PHP record paging page, I suggest you look at:

http://www.daniweb.com/techtalkforums/thread1720.html

samaru 145 a.k.a inscissor Team Colleague

Just a quick question: are you trying this on a Windows server or Linux? I had a similar problem where I could not unset the session variables. I tried everything and posted on every forum I could think of. Nothing worked. I moved the app to a Linux server and it worked. Strange. Maybe a fault with the version of PHP I was using.

samaru 145 a.k.a inscissor Team Colleague

When it comes to serious learning, for some reason, I just can't rely on a web site. It's never thorough enough for me. I need a book. ;) I suggest you check out:

http://www.amazon.com/exec/obidos/tg/detail/-/067232525X/qid=1089237328/sr=1-3/ref=sr_1_3/103-3193081-9298267?v=glance&s=books

PHP and MySQL Web Development, Second Edition
by Luke Welling, Laura Thomson

[img]http://images.amazon.com/images/P/067232525X.01._PE32_PIdp-schmoo2,TopRight,7,-26_SCMZZZZZZZ_.jpg[/img]
Look inside this book List Price: $49.99 Price: $33.99 & This item ships for FREE with Super Saver Shipping. See details. [img]http://g-images.amazon.com/images/G/01/marketing/sss49/fs-truck-iconsmall.gif[/img] You Save: $16.00 (32%) Availability: Usually ships within 24 hours

Want it delivered Friday, July 9? Order it in the next 20 hours and 33 minutes, and choose One-Day Shipping at checkout. See details.
Want it delivered Friday, July 9? Choose One-Day Shipping at checkout. See details.

16 used & new from $28.10

Edition: Paperback

samaru 145 a.k.a inscissor Team Colleague

Weird. Maybe a cookie hasn't been cleared, since browsers store cookies differently. Try clearning the cookies in IE that are related to your site. This is a very weird error indeed. Have you tried asking others to view the site or tried on another computer with IE?

samaru 145 a.k.a inscissor Team Colleague

In an extreme situation, where it was an emergency and I had plenty of PHP libraries in store, did not know another language as well, and performance was not an issue, then yes, I would use PHP. Otherwise I would go with C/VC++.

samaru 145 a.k.a inscissor Team Colleague

You guys know when you upload pictures to a site and most sites have a standard format.

Standard format? What do you mean? I've never had to worry about image formats when I upload them to a server. :cool:

Example I upload 1000 pictures via FTP it will assort them out in a nice looking format on the web page atomically. This is what I want to do can anybody help if so holler.

Nice looking format? You mean as thumbnails? If so, then I would imagine it's some PHP file installed in that directory that scans that directory for images, creates thumbnails out of them, and lets you see the real image upon click. I've never been on any server that has this though. The only thing I can imagine you're talking about is the default listing Apache/IIS makes when there isn't an index file in the directory or has been configured to allow browsing of directories. Then, in that case, you see a list of files.

If you're looking for something album related, check out hotscripts.com and search for "album" in the PHP section.

samaru 145 a.k.a inscissor Team Colleague

Sorry, but this thread has nothing to do with IT Careers or Corporate Computing. It will be moved to the Geek's Lounge. Also, your strange inquiry makes me think that you have some sort of grudge against them. You a spy or something? LOL.

There's nothing unethical about their claim that they can "Beat Any Price." How do you see it? As far as your second question, I don't know. It's strange that you're asking for this in a tech forum.

samaru 145 a.k.a inscissor Team Colleague

For those who are interested, a book will be coming out from Sams Publishing, July 30. Read more about it here:

http://www.samspublishing.com/title/0672327090

So... who's going for the exam? :cool: I would like to, eventually.

samaru 145 a.k.a inscissor Team Colleague

He's saying he loves this forum and would give away his arms and legs for it. Dedicated guy, I gotta say.

samaru 145 a.k.a inscissor Team Colleague

Yes, very old! Almost two years have passed, and I hate computer science even more. Die computer science, die!

samaru 145 a.k.a inscissor Team Colleague

I think you should stick with CS. Too many people have a CIS degree. Why? Well, one of the reasons is just like you said:

have found all the theory stuff to be really hard and havent been doing so good in the university level...

Sure, CIS might be easier, and you'll feel better because you'll do better in the classes. However, if you're really computer savy, you'll probably end up like me; being bored out of my mind sometimes when teachers go over material where I could just learn it myself in about five minutes.

Throughout my years in CS, you have no idea how many times I've thought about switching. I've been in the same situation as you. I was probably (and still am) the person that hated CS the most. All I wanted to do was programming. However, now that it's over, I'm glad I didn't change. Sure, I still hate CS, but I realized that investing my years in a degree where I could teach myself the material, wasn't worth it. As far as CS, that's the type of material that I would not like to learn myself. By that I mean, I would have an easier time learning how to setup and secure a network if I had learned myself. However, if I had to learn physics involving calculus, I'd rather have a professor.

I think there's a stereotype that too many people make about the people in human resources. They assume …

samaru 145 a.k.a inscissor Team Colleague

This is from nyphp-talk:

[nyphp-talk] Zend PHP Certification
Daniel Kushner kushner at gmail.com
Thu Jun 17 20:08:33 EDT 2004


Previous message: [nyphp-talk] PHP and Flash
Next message: [nyphp-talk] DB Differences
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

--------------------------------------------------------------------------------

NYPHP List:
This email was sent out to selected Zend clients. Due to requests from
individuals from this group I would like to extend the offer to NYPHP.
Please don't hesitate to contact me at daniel at zend.com with any
questions you many have.

Best,
Daniel


Dear PHPer,

As the PHP company, Zend has been approached by many asking it to
establish an industry standard that recognizes PHP expertise. In order
to do that Zend has partnered with PHP experts worldwide to create the
Zend PHP certification exam. The Zend PHP Education Advisory Board has
specified a curriculum essential to demonstrate expert proficiency in
PHP.


Benefits of Becoming a Zend Certified PHP Programmer
====================================================
In today's competitive market, it's more difficult than ever to stand
out from the competition. The Zend PHP Certification credential offers
a variety of benefits:
- Differentiate yourself from competitors when looking for a new job
or at your annual salary review
- Get your resume noticed
- Gain recognition …

samaru 145 a.k.a inscissor Team Colleague

You can try: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html

Other ways is just to go to google.com and type "php tutorial"

samaru 145 a.k.a inscissor Team Colleague

Try pasting line 93 with ten lines of code before and after. Don't paste the entire thing, it's too time consuming to scan through. It seems there's an error involving a semicolon, but you'll have to post the code, just like I said.

Also, use the PHP tags for this forum. It'll make it clearer.

samaru 145 a.k.a inscissor Team Colleague

There is no problem with updating/inserting more than one record in a php page.

<form action="results.php." method="post">

Why do you have a period after results.php ? I hope it's just a typo in the post. As far as your other code, where in the code are you updating anything? Unless that's what you want us to write. Use the update command. Here's an example:

update TABLE set field1='string', field2=5, field3='$data' where fieldid=2

If you need more help, let me know.

samaru 145 a.k.a inscissor Team Colleague

I am new to PHP and MySQL so am in need of some help please.
I am using MySQL through PHP MyAdmin.

I have a results page to a MySQL search and formatted it so that they come up as an HTML table.
This is it's code:

<table border="0" align="center">
<tr><!--Change colspan number as appropriate -->
<td colspan="7">Number of records found: <?php echo mysql_num_rows($result); ?></td>
</tr>
<tr>

<th>TW</th>
<th>LW</th>
<th>Wks</th>
<th>Title</th>
<th>Artist</th>

</tr>
<?php $i = 1; while($row = mysql_fetch_array($result)){ ?>
<tr>

<td><?php echo stripslashes($row); ?></td>
<td><?php echo stripslashes($row); ?></td> //image or formatted RE
<td><?php echo stripslashes($row); ?></td>
<td><?php echo stripslashes($row); ?></td> //upper case
<td><?php echo stripslashes($row); ?></td>

</tr>
<?php $i++; } ?>
</table>

Could some guru please amend the code for me where the comment Upper Case so that it will appear all in upper case. I know it uses the function strtoupper() but I don't know how to put the code into this table row.

<td><?php echo strtoupper(ststripslashes($row['Title'])); //upper case ?></td>

The field where the comment for Image is, what I want is that if this field has new entered it will automatically insert a certain graphic. Also if this field of the MySQL database has a zero (0) entered, I wish it to automatically insert the letters RE in Yellow and bold.

<td>
<? 
if($row['LW']=='new') {
   echo "<img src=\"new.gif\">";
}
elseif($row['LW']==0) {
   echo "<font color="yellow"><strong>RE</strong></font>
}
?></td> //image or …
samaru 145 a.k.a inscissor Team Colleague

The best way to go about this is to keep a URL variable as you're going through the pages. So anywhere you create the link to go to the next page or back, include a variable of the search term. So something like this:

search.php?query=ninjas

Then, all you have to do to retrieve it is:

$_GET['query']

So for your code, it'd be something like this:

echo "<input type='hidden' name='hiddenField' value = '";
echo $_GET['query']; 
echo "'>";

Also, when passing variables around through the URL, always consinder SQL Injections. Click here for more info:

http://www.daniweb.com/techtalkforums/thread199.html

samaru 145 a.k.a inscissor Team Colleague

I agree with Arizona Web. I suggest you make a portfolio. Learn what technologies are hot in the IT world and make applications based on them. This is how I learned. Also, your degree will help out a lot because engineering is also a degree that can land you a software job.