User Profile
Collapse
-
Custom Templates for PHP Script
Hey. I'm currently developing a free PHP script, but I realize that people will not want the same template. How can I let the users add custom templates to the script? Are there any good tutorials on this? I've heard to use smarty but I'm not exactly sure how to use it in this respect. Thanks for any answers! -
My cell stretches and ruins the site's design :-(
Hey. im making a template for a website using tables and images as the backgrounds for the cells. however when i put to much text into the main content cell, the page stretches down, leaving whitespace and ruining the design. how can i make it so only the main content cell stretches, and the image stretches along with the cell? Thanks a ton! Here are some images to explain the problem more clearly:
http://stealthisblog.n et/normal.jpg... -
WebRequest ignore Internal Server Error?
Hey. In my c# app i have a webrequest that goes to a URL that contains an error. However instead of displaying the contents of the page it only returns the 500 Internal Server Error exception. Is there a way to ignore the exception and get the data on the page anyway? Thanks alot! -
Getting iframe code
Hey. I have an iframe in my page that contains a remote web page (not on my server). How would I use javascript to get the code inside the iframe?
I tried
alert(document. frames[0].document.body. innerHTML);
but no luck :[ Any suggestions?
Thanks! -
well I dont really care about explode or how anything else looks/works, as long as the end result is an array with all the variables. any clues? -
Finding variables in a string?
Ok, heres my problem. I want to be able to read other php files and get each line, which i can do by $lines = file("file.php" );. now the problem is i want to search each index of the $lines array and check for any php variables. all the variables will start with $ so i could try explode("$", $lines[$x]);, but how would i cut the extra text like commands etc off of the end of the variable name? Any help would be GREATLY appreciated.... -
almost, but i needa know which error occured. anyone have an idea?Leave a comment:
-
How to find out what PHP error was printed?
Hey. My script uses file_get_conten ts, and i get two errors with it. Sometimes I get an error saying the site cant be reached or is invalid, and other times i get an error saying it got an internet server error when accessing the site. Is it possible to determine which error file_get_conten ts got so I can alert the users appropriately? Maybe something with try..catch and a certain error id? Thanks alot! -
Text Color
Hey. In my program I have a rich text box. I was wondering if there was a way to get the first couple of words on a line in the box a certain color like red and the rest of the words in the box plain black ? Thanks alot! -
Thanks, that solves the tabpage problem, but I also need to create whole new tabControls for each file, and I can't use a collection of tabControls, just pages. Any ideas? Is there a way to increment variable names maybe? Thanks alot!Leave a comment:
-
Variable Variables in Visual Basic
Hey. I was wondering how I would be able to make a variable that has a name that contains another variable. I want to create a bunch of tabpages for files that have names that are like tab_filename. I know in php you could do ${$var} = "data";
How would i go about this in vb? thanks
No activity results to display
Show More
Leave a comment: