Skip to main content

Disable Images

$HTTP_POST_VARS

Can I search and replace "$HTTP_POST_VARS" with "$_POST" without any major headaches?

I've got a fairly large lot of files I'm going through that have the older http_post and http_get variables all over the place. Since the array data will be the same, it seems like I should be able to search and replace with no problems. However, I'm weary of doing it.

Anyone ever attempt this?

33Comments

After Effects or Premiere?

Okay, so my company is gonna pony up and buy one of these.

I'll be making mostly instructional videos. Most of the graphics will be simple, but could be complex at some point. Other than text, most of the graphics will be imported from illustrator and animated without a load of effects and what not.

After Effects is what I'm leaning towards, but it's $200 more. I know After Effects has loads more features, but would they're be anything I'd be missing out on editing wise with After Effects vs Premiere?

1515Comments

PHP bulk emailer

Anyone have a php bulk email program that they use and like? I've searched, but the list of software out there is massive. I've got about 10,000 email addresses at the moment, but that amount is always growing.

I'm not looking for any freebie scripts either. Something with a GUI that is easy to use preferably. Thanks!

1212Comments

wall decor printers?

Anyone know of any printers that print wall decals like this: http://www.whatisblik.com/wallde…

44Comments

InDesign Guides

I generally do 1 page ads and fold out brochures. However, I'm going to be doing a 30 page catalog and have a question about guides with InDesign.

Aside from creating a document as a template to include in a book or copying and pasting the guides each time I duplicate a page or spread, is there a way to create a new page within a document that has the guides in place already.

Yeah, I know, copy and paste is easy. I'm just wondering if there's a way to duplicate a page with the guides already in place.

88Comments

Jenson's on pole again!

Man, I'm loving this year's season already. No Ferrari or McLaren at the top and my man Vettel is on a tear too(although that penalty is bull shit).

I'm even starting to get used to the new car design too. Now the question is, put on a pot of coffee and stay up or catch the re-run.

44Comments

.htaccess file

I'm going to be moving a site over to a new design soon and want to get all my 301 redirects in order. Before, I used the redirect 301, but this time I'm going to use rewriterule.

Anyways, I can't figure out if I should be escaping dots or not. I've found examples of both. Here's an example of what I'm doing, but I don't know which to use.

RewriteRule ^old-url\.htm$ http://www.domain.com/new-url.ht… [NC,R=301,L]

or (without the "." escaped)

RewriteRule ^old-url.htm$ http://www.domain.com/new-url.ht… [NC,R=301,L]

pleaz help!

33Comments

Film School?

So, my 17 year old brother wants to go to film school. I've tried to talk him into graphic/web design, but he's not trying to hear it.

He's get his heart set on USC's film school. Can anyone recommend any other schools that have good film/motion programs.

Many thanks in advance

1919Comments

php xml writing problem

I'm using the dom xml class that comes with php 5 to write xml files from entered form data. I've sucessfully entered data, including data with html links and tags while testing.

However, I'm having a problem with a blog article a co-worker is trying to publish.

The article is just text and it's about 6 or 7 paragraphs long. It will not write to an xml file. Parts of it will though. For instance, I took one of the paragraphs and copied and pasted it 50 times in the entry field and it wrote no problem. Also, I entered the first few paragraphs and they wrote fine. However, when I try to paste the entire article in, it won't write. I thought maybe a quotation mark or comma was the culprit, but I did a test entry with every non alphanumeric character on the keyboard in conjunction with letters and it wrote fine. I checked the xml file and they were all properly converted to html friendly entities (ie. & instead of &).

So, if the length of the article isn't to blame and it's not a character throwing things off, what is it?? This is unbelievably frustrating.

Here's the code, but I don't think it's the problem since it works for other entries:

// retrieve form data
$title = $_POST['title'];
$description = $_POST['content'];

// get date info for naming files and adding link data
$today = getdate();
$link_data = $today['year'] . "_" . $today['mon'] . "_" . $today['mday'] . "_" . $today['hours'] . "_" . $today['minutes'] . "_" . $today['seconds'];

// array that contains all the new item data
$item = array(
'title'=>$title,
'content'=>$description,
'link'=>$link_data
);

$url = $_SERVER['SERVER_NAME'] . "/welsh/catalog/blog.php?id=" . $item['link'];

// Insert into database to query later on
$sql = "INSERT INTO blog(year,month,day,hour,minute... VALUES(" . $today['year'] . "," . $today['mon'] . "," . $today['mday'] . "," . $today['hours'] . "," . $today['minutes'] . "," . $today['seconds'] . ",'" . $item['link'] . "')";
mysql_query($sql);

//create xml document
$doc = new DOMdocument();
$doc->formatOutput = true;

$newEntry = $doc->createElement('item');
$doc->appendChild($newEntry);

$title = $doc->createElement('title');
$title -> appendChild(
$doc->createTextNode($item['titl...
);
$newEntry->appendChild($title);

$link = $doc->createElement('link');
$link -> appendChild(
$doc->createTextNode($url)
);
$newEntry->appendChild($link);

$desc = $doc->createElement('description...
$desc -> appendChild(
$doc->createTextNode($item['cont...
);
$newEntry->appendChild($desc);

$doc->save("../blog/" . $item['link'] . ".xml");

88Comments

CSS dropdown menu problem

Without me posting up my code, I have a question about a css dropdown menu I'm using.

Basically the menu is horizontal at the top of the page in the header div and when you mouseover it drops down to a sub menu. However on a few pages the sub menu doesn't cover the content on the page as it should. It's going behind it sort of. However, it's only on certain pages and those pages only have text on them.

Should I be using a clear: both maybe to avoid this? I'm hoping someone knows this off the top of their head.

Thanks

77Comments

UK web hosting?

I'm designing a smallish website for a UK company and looking for some affordable UK hosting companies. Shared hosting will work just fine. Thanks!

55Comments

IE6

You are indeed a filthy whore and I hate you.

1111Comments

Blog with sneakers/street fashion??

Looking for a blog with a bunch of features on sneakers and street fashion. It's featured on here every once in a while. It's pretty popular from what I can tell. It's not beautiful decay, but similar womewhat.

Any help?

1111Comments

crappy weather

is awesome when your boss let's you telecommute. I had to come in today though.

33Comments

Looking for a Macbook?

If you haven't noticed the white macbooks that are currently getting phased out received a boost in their specs. Other than DDR2 ram as opposed to DDR3 and a little less storage, they are almost identical the the new macbook and $400 cheaper. Plus it has a firewire port!! Which is an upgrade to the new ones if you ask me.

Just thought you lot would be interested.

77Comments

Skate 2

Oh yeah!!, going to pick up my copy in about 20 minutes.

3434Comments

php people

I guess this could apply to any language. When you are echo'ing strings that have quotes do you:

a) echo "<div id='test'>";

or

b) echo '<div id="test">';

I do the "a" version.

Just curious what others do.

1010Comments

google has a favicon now

I just noticed it. I always wondered why they didn't have one. Now, I can stop wondering

1010Comments

CSS Variables

I was just doing some reading on css3.info about the neat fun stuff in store(and currently working) for css.

In regards to variables in css, I am personally 100% for it. I've always wished I could use variables to define colors along with other things. There apparently is some opposition to variables in CSS, but I'm not sure why.

Just wondering what other QBN people thought of variables in CSS.

88Comments

T-Shirt Prices

http://123klan.bigcartel.com/pro…

I was going to buy this shirt...until I realized it was $32.00. I mean shit, That's fucking high for a t-shirt. I have trouble paying any more that $20.00 for a t-shirt, but $32.00. Why?

2020Comments

Skip to main content