Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
14
Posts with Upvotes
14
Upvoting Members
10
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
1 Endorsement
Ranked #858
Ranked #1K
~41.8K People Reached
Favorite Tags

43 Posted Topics

Member Avatar for abdulazeem

Having done some fairly complex pdf generation online, I would recommend tcpdf as having the best feature set. It takes a bit of getting used to but some features (write html direct to the document) can save a lot of time. http://sourceforge.net/projects/tcpdf/files/ I found the best way to learn is …

Member Avatar for QuilhaSoft
0
3K
Member Avatar for MWEB

In my opinion, SEO is the new snake oil. Many people promise many things with little knowledge. My advice is to start by reading the following document written by Google (they should know) https://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/en/us/webmasters/docs/search-engine-optimization-starter-guide.pdf It's not hard, try not to 'game' the search system, it has a habit of evolving …

Member Avatar for TRAN_2
0
729
Member Avatar for Siberian

In this case, 'paycheck' is indeed 'global' and can be acessed from inside a function. Try this: var paycheck = 1200; function check_alert () { window.alert("You make $"+paycheck); } check_alert(); Think about it... Now try this var paycheck = 1200; function check_alert () { window.alert("You make $"+paycheck); paycheck = paycheck …

Member Avatar for Troy III
0
307
Member Avatar for davy_yg

PHP 'mail' command usually uses the servers sendmail command. To use an external smtp server like yahoo you will need to use something like [PHPMailer](http://sourceforge.net/projects/phpmailer/). I have had a lot of trouble trying to set this up in the past with authentication.

Member Avatar for nauticalmac
0
800
Member Avatar for adsegzy
Member Avatar for adsegzy
0
279
Member Avatar for bops

What event triggers going back to the alphabetical list if no postcode is entered? If the results are showing alphabetically by default, if the entered postcode does not result in a location, then you needn't do anything? May not be helpful:(If you want to avoid duplicating code, create a function …

Member Avatar for Airshow
0
275
Member Avatar for kgizo

This may help: http://stackoverflow.com/questions/18735848/how-to-make-progress-bar-with-jquery-and-php-while-waiting-server-process

Member Avatar for kgizo
0
1K
Member Avatar for vivek1995

You have lots of images on your page. If you want help, describe the problem more exactly. Also, why include css if problem is to do with links.

Member Avatar for nauticalmac
0
115
Member Avatar for ebanbury

Hi, You need to narrow down the likely problem area as there's a lot of code posted and it would take someone else a lot of work to set up a test db, etc. Can you debug a little and then repost with some results? Verify whether sendPasswordEmail is being …

Member Avatar for ebanbury
0
482
Member Avatar for davy_yg

There is inline style in your html which overides your stylesheet: `<span style="font-size: medium;">...black text...</span>`

Member Avatar for nauticalmac
0
129
Member Avatar for elanorejoseph

just use <iframe src="yourscriptfile.php"></iframe> (If you want to use PHP). then your script needs to write html.

Member Avatar for nauticalmac
0
220
Member Avatar for tony75

If your script doesn't have permission to create the file, you won't be able to set permissions. Most hosting services allow you to change permissions manually. If you want to create files with your script, create a directory with write permissions manually through your hosting panel and then your script …

Member Avatar for tony75
0
1K
Member Avatar for nauticalmac

(Off topic? if so, sorry) Why are my posts here not color coding when I use the 'Code' or 'Inline Code' entries? E.g.: var x = 1; function callme(y) { // comment alert("Param:"+y); } callme(x); They end up all green or red.

Member Avatar for Ancient Dragon
0
312
Member Avatar for mkweska

Incorrect sysntax above: echo "<p class=size">$element." "</p>; should be: echo "<p class=\"size\">".$element."</p>"; Try posting one problem at a time with a bit more info on what you are trying to do.

Member Avatar for nauticalmac
0
295
Member Avatar for Eagle.Avik
Member Avatar for nauticalmac
0
504
Member Avatar for kishoresai438

Since the error relates to SSL, is it worth setting CURLOPT_SSL_VERIFYHOST to it's default (2) and CURLOPT_SSL_VERIFYPEER to it's default (TRUE) as a test?

Member Avatar for nauticalmac
0
455
Member Avatar for hriti

What I have done is create my own search entry box which (when submitted) sends the entered search term to a separate dedicated search results page which contains the google code (and included styling) e.g. "searchresults.php?q=enteredsearchtext". This initiates a custom search when the page loads. Example: http://www.gwscsw.org/

Member Avatar for nauticalmac
0
175
Member Avatar for garyjohnson

Apply the width and positioning to a block level tag (e.g. li) instead of inline (a) Without knowing what the other constraints of layout are (menu animation?), here's a place to start from. ul li { background:rgba(0,0,0,.4); position:relative; height:50px; left:0px; width:200px; padding:2px; margin:0px; margin-left:-40px; } ul li a { font-size: …

Member Avatar for nauticalmac
0
242
Member Avatar for Sabyre

I assume all you want to do is ignore these attempts to spam your form. Since you know (evidence a blank or missing entry in your $_POST array) then server validation could (should) ignore or return an error (depending on the submission / validation method) and discard the submission. Presumably …

Member Avatar for diafol
0
378
Member Avatar for ebanbury

Hi, If there is no processing done on the form itself, textarea input should not contain <br /> tags. If the question is a Wordpress one (e.g. solved by the link from Bachov) then I'll bow out. If not, there's a process I have developed for dealing with breaks and …

Member Avatar for nauticalmac
0
396
Member Avatar for elanorejoseph

How far have you got with your project? Have you written Javascript before? Post what you have done so far.

Member Avatar for elanorejoseph
0
134
Member Avatar for lonrat

So many possibilities. If you already have an array of image paths in Javascript in your page source (e.g. 'imagepaths'), here's a function to pick a random index to select the next image (different from the last). function nextindex(previous) { // slidemax is the size of your image path array …

Member Avatar for nauticalmac
0
1K
Member Avatar for chrisschristou
Member Avatar for jacob21

Not familiar with 'lakhs'. Using PHP you could read your csv file into an array of records and either process as arrray or go the next step and insert into a MySQL table. This snippet may help. ini_set("auto_detect_line_endings", true); $records = file("file path here"); $recarray = array(); foreach($records as $key=>$val) …

Member Avatar for BlindArcher
0
781
Member Avatar for subrata_ushasi
Member Avatar for shaswata.shaha

If you have an objective such as what type of work you are planning to do, an answer may be indicated. I agree with pritaeas, given that you are a CS graduate, learning Java/JSP will be a good project for you and be useful in business applications. IMO, PHP should …

Member Avatar for nauticalmac
0
213
Member Avatar for programmer12

I suggest doing some investigation as to where your code is failing. Put an alert(x) in each of your success functions where x is the ajax returned data and see whether the functions are running and receiving the correct data from your php files. It looks like update_div() is being …

Member Avatar for programmer12
0
17K
Member Avatar for Mohamed_26

Don't temporary tables get destroyed when connection is closed? From the MySQL website: "If you run the code in a PHP script, the temporary table will be destroyed automatically when the script finishes executing." By the time you check with PhpMyAdmin it's gone. I see you have already som debug …

Member Avatar for Mohamed_26
0
3K
Member Avatar for mattyd
Member Avatar for nauticalmac
0
193
Member Avatar for CraigWinder91

Better to use mysql_fetch_assoc and text indices. Then if your table is modified you don't have to re-write the numeric indices. Pretty sure even for a NULL field, you should not get an 'undefined index'.

Member Avatar for diafol
0
182
Member Avatar for suavedesign

Your product div may take up 100% but the image size inside it is set to 400x394 by your code. If you don't set width and height then it will default to the image size. You will have better luck putting the image in the background and using css 'cover' …

Member Avatar for nauticalmac
0
173
Member Avatar for chaitu11

Do you mean how to add the input fields to the form dynamically or do you mean how to write a insert query when some of the fields are not always there?

Member Avatar for nauticalmac
0
52
Member Avatar for leadcrumb
Member Avatar for marifard

Hi, I make the correction when inserting so time in the database records is always local time: $TZADD = 6; // difference in hours from client to database server // add this in insert query "created = TIMESTAMPADD(HOUR,".$TZADD.",NOW())" This works fine if $TZADD is constant. However GoDaddy hosting has its …

Member Avatar for nauticalmac
0
366
Member Avatar for jacob21

Hi, How about: `SELECT * FROM a WHERE YEAR(created_on) = 2013 AND MONTH(created_on) = 12`

Member Avatar for nauticalmac
0
122
Member Avatar for onsponge

Sounds like a bad idea. What if John quits his browser after opening page X. He's locked Tim out for ever. Then you'd have to run a timer, Tim can look at X n seconds after John? John can perform tasks on X for only n seconds? HTML is not …

Member Avatar for nauticalmac
0
154
Member Avatar for azapovjednik

I think it would depend on how you would access the data under normal use. Would all your queries need to access all the data? Or might there be a subset that is accessed more frequently where having it in a separate table may marginally improve performance? I think splitting …

Member Avatar for azapovjednik
0
248
Member Avatar for nidhinmohanan
Member Avatar for RascelleGrepo

Hi, Some setups will download the file instead of displaying in the browser. Have you checked it is not downloading without displaying? Also (very small point) is_readable() checks if file exists so file-exists() is not necessary.

Member Avatar for nauticalmac
0
3K
Member Avatar for eantz

You could do away with your anchor tags and use span instead. Then use CSS to style the cursor to pointer so it shows up as clickable like a link. [QUOTE=eantz;1022549]Hi, I want create a page which has animation at the bottom of that page. I use jQuery to do …

Member Avatar for eantz
0
185
Member Avatar for cmills83

You should be able to use jQuery's stop() function which is [URL="http://docs.jquery.com/Effects/stop"]explained on the jQuery site here[/URL].

Member Avatar for cmills83
-1
176
Member Avatar for kanjigirl

I don't use prototype but in straight javascript you might define a function as follows: [code=js] function hideCaption() { var el = document.getElementById("imgDisplay_caption"); if(el.innerHTML == "") { el.style.display = "none"; } else { el.style.display = "block"; } } [/code] Then run the function after you know prototype has done its …

Member Avatar for nauticalmac
0
2K
Member Avatar for bufospro

[QUOTE=bufospro;1000476]Hi all, I saw a image opening effect that I like so much. And I would like to ask if anyone knows how can I do this. The page I have seen the effect is : w w w .hypersys.gr Thanks a lot[/QUOTE] If you are talking about the zoom …

Member Avatar for bufospro
0
79

The End.