- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Re:
.guys i'm starting a new project. an online examination using PHP and an online database phpMyAdmin. .the exam is consisted of questions which can be answered by choosing one of the four answers. what i want to do is either use dropdown menu or multiple radioboxes when picking answers. of … |
|
Many string functions seem to work without the null byte... is it necessary to add it all the time? and my second question, does scanf %s automatically ads the null byte? |
|
seems like I never need malloc to allocate memory dinamically when it comes to strings example: int main(void) { char *str; puts("keyword:"); scanf("%30[^\n]\n",str); printf("%s",str); } I never defined str size, yet it works sorry if this is a stupid question it's 2 am and I'm studying for some c quiz … |
|
what is the difference of passing an array to a function like this function(int x[]){ } or like this(int x*){ } what is the difference both ways seem to work |
|
I have a text file in spanish, how can I normalize all spanish characters (remove tildes and covert letters) example convert all ñ to n's ó to o I know about the Unicode::Normalize module but I don't understand how to use it |
|
I've been programming a web crawler for a while, I'm almost done, it works perfectly but when it crawls vbulletin forums i get weird urls example: forum/index.php?phpsessid=oed7fqnm9ikhqq9jvbt23lo8e4 index.php/topic,5583.0.html?phpsessid=93f6a28f192c8cc8b035688cf8b5e06d obviously this is being causes by php session IDs what can I do to stop this? I tried using cookies with HTTP::Cookies … |
|
I'm trying to convert html to plain text (remove all html tags) I don't want to use regex so I tried the module HTML::Parser and tried the parse() function but i got this error [CODE]Undefined subroutine &main::start called at getwords.pl line 27. [/CODE] and as a matter of fact I … |
|
how can i get a variable inside a package example: [CODE] { package example; my $baz = "sometext"; sub new{ my $self = shift; bless \$self; } } my $foo = example->new; [/CODE] how can I get the value of $baz i tried [CODE]print $foo->{vv}; print $foo::vv[/CODE] and no luck … |
|
what is this variable: [CODE]$/[/CODE] |
|
Re:
Hi All, I am developing a perl script using the LWP library to extract all the links from a website. I only am planning to extract the internal links of a website. Now there is a URI class which has a hostname instance variable, which will always extract the domain … |
|
y/A-Za-z/N-ZA-Mn-za-m/; it is a rot13 script but I don't undestand how it works, what is the y// operator for |
|
How can I run my Perl scripts on my symbian phone? I have been googling for two days, I only found these two links: [url]http://search.cpan.org/~rgarcia/perl/symbian/PerlBase.pod#___top[/url] [url]http://perldoc.perl.org/perlsymbian.html[/url] and I didn't understand them lol so is there a way to use perl on my symbian? either the Perl interpreter or a compiled … |
|
Re:
hello, what book will you suggest me to read if i want to learn gui using c language.? |
|
Re:
our site is a new site, it's pr is 0 ,How to get backlinks?,other people doesn't to exchange links with me. |
|
I haven't used MySQL for a long time and I forgot a lot, I'm developing a script that saves a list of URL's but I have a lot of doubts.. should I use varchar or text? (what is the difference) Which characters should I escape? what should be the length? … |
|
Re:
Sorry for what may well be a simple question. Just starting out here so.. I have created a very basic html document, stored it in the correct folder on my macbook pro and then used safari to browse it. But is displays the source code! Please tell me what I … |
|
I coded a simple program that pretends two users input random characters and the program tells you which user wrote what [CODE]#include <stdio.h> int main(void) { int x; char user; char ch; puts("type a character"); for(x = 0;x < 9; x++) { if(x%2 == 1) { user = 'x'; } … |
|
Re:
Hello! So this is pathetically easy as programs go in the C language (i hope). I am working on a variation of the Hello World program (as I am just starting to learn C, solo). I am using the C All-in-One for dummies book, and I got a little ways … |
|
How can I make my url [CODE]example.com/query.pl?q=Dummy+Text [/CODE] look like this: [CODE]example.com/Dummy-Text [/CODE] is that possible with .htaccess? |
|
I'm very interested in learning C before C++ but I can't find good books The K&R book looked very organized and short but it seems it is very outdated. So my two questions are.. Should I read the K&R book even thought it uses an old standard, if I do … |
|
I was wondering if there is a global matching flag, considering there is a global replacement flag (/g) I'm using this workaround to make multiple matches in a string [CODE] while(!$stop_var) { if($source =~ /(PATTERN)/i) { push(@matches, $1); $source = $'; } else { $stop_var =1; } } [/CODE] is … |
|
Re:
There are lot of questions about PPC which stands for Pay per Click. Recently in the Indian Market PPC growing very very rapidly. There are over 100 PPC Networks which has been launched in 2010 but the question comes which one of them are the best ? Well if it … |
|
Re:
Can someone help me understand these operators. Thanks. |
|
Which is the best way to make a plataform-independent perl app, I tried Perl Packer but it seems it wont work on windows, I don't want to use activestate? what are my alternatives? |
|
Re:
I have created a search bar using PHP that pulls from my database by keywords typed in the search bar and displays links and descriptions of URLs' associated with the keywords. Is there a way for robots to randomly type keywords in my search bar on my website to list … |
|
Re:
hey people . okay . 3 dayz ago i was done from designing and coding my website . it is made mainly in html . okay it is not pure html . it is html with php in .php files and it also contain abit of js & css . … |
|
Re:
how detect that a visit to my site is done by a search engine and not by human? the referenceUrl (visitor come from) is always null if search engine auto visit or...? I know to get server params like ip, reURL, etc |
|
Re:
I am a student and I wana learn PHP.. via Internet.. can anyone tell me please how to do it..Where i can buy the buks and where i can start my online stdies... please help me out.. as i m in search of a Good PHP training..:) |
|
Re:
hello all, i need html table to be inserted in php code..i tried this but i am getting some problem with it so can anyone help me.. Thank u.. [CODE] $messageproper ="\n\n" . "Name: " . ucwords($_POST['name']) . "\n" . "Email: " . ucwords($email) . "\n" . "Message: " . … |
|
How can I print some numbers during a loop for example I have a while loop, and while the loop is running i want to print the numbers of times the loop has been repeated. |