No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Computer Freak
- Interests
- Coding
- PC Specs
- Php, C++, Python
18 Posted Topics
Re: Do you have any code that ypu've written. So the community can know what you need. Php code and mysql schema. | |
I am working on a web app in Python (*using the Flask framework*). I have a post and photo table connected via ForeignKey, my problems: 1. **how can i return an empty image if image is empty**, and if not empty 2. **how do i select just one image from … | |
Hello, I have this code to print all locations from a json file: countries.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { "name": "Albania", "phoneCode": "355" }, "dz": { "name": "Algeria", "phoneCode": "213" }, "ad": { "name": "Andorra", "phoneCode": "376" } } Jquery: function getData() { $.ajax({ url: … | |
I have be writing code for Json requests, but haven't seen this before.. How do I go about it? I want to return all the countries with their name and Phonecode Here is the Json am getting request from: data.json: { "af": { "name": "Afghanistan", "phoneCode": "93" }, "al": { … ![]() | |
The ajaxForm function is not working well. It returns an error. Here is my code: Html: <form class="t1-form" action="ajax/upload.php" method="post" accept-charset="UTF-8" id="form" enctype="multipart/form-data"> <textarea class="txtbox" placeholder="" role="textbox" title="" name="post"></textarea> <div class="photo-selector"><button type="button" class="btn btn-default" title="attach image"><i class="fa fa-camera fa-fw"></i> Upload</button><div class="image-selector"><input type="hidden" name="photoId" value="" id="photoId" class="file-data" autocomplete="off"><label class="t1-label"><span class="visuallyhidden">Add photo</span> <input … | |
Hello Pals... Help with this code...I am unable to hold Angularjs tag with Php variables $vid = "{{task.vid}}"; //this where the Errors comes in :( $s = $db->query("SELECT * FROM reply WHERE post_id_fk = '$vid'") or die($db->error.__LINE__); Please how can i go about this? Thank you! | |
Please help with this...say we have few subdomains domains on same server. blog.robots.com chat.robots.com forum.robots.com forum.robot.com generates the session id of a user. I want to share this session id with other domains....blog,chat... All for the purpose of not letting the user login twice on this domain How can I … | |
If u visit https://tweetdeck.twitter.com/ and you login, u will see the left sidebar with a textbox. The textbox can post new tweet, can also send direct message ans at the same time also reply to a tweet. How can I achive this in jquery. Thanks | |
Hello world, I'm developing two applications: 1. Chat room 2. Forum The two are under the same domain : **chat_room**.ask.com and **forum**.ask.com What I wanna do is this, I want users who login to the forum to at the same time use the chat room without login in again...just like … ![]() | |
Re: Hi there, If you have any question relating to Asp.net, we advice you move it to the Asp.net [forum](http://www.daniweb.com/web-development/aspnet/18) | |
Re: A search engine means alot, from **small-scale** (like daniweb's search box) to **large-scale**(like google search engine)... The kind of language you need depends on the kind of search engine you want to design and its flexibility and usage. | |
Re: Yeah! Php is very powerful...but Python is used for more complex and large-scale task...from social-networks(like Diaspora) to Search engines(like Google). It all depends on your familiarity with the programming language. | |
I wanna get definition and meaning from another website, the website doesn't have an API....when I curl it, I get the whole page instead of just a few lines. This is my code: <TD align=center> <form action="http://www.nigeriandictionary.com/all_word.php?lang_id=68&word=love" method="get"> <input type="hidden" name="word_search" value="true"> <table border="0" align="center" cellpadding="5" cellspacing="0" class="special" bgcolor=#fdfdfd width=100%> … | |
# Guys help with this... are all this paths to the file. # I found this on google This is the link [Click Here](http://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw) The Structure **https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw** This is the main file: **"rv=PretRSTNTQEkMjnw545454545Yrw"**. no extensions just plain but I want to ask if all this: **/xjs/_/...** are paths to that … | |
Re: I thought of using a div or alert moz-box code instead of alert box coz they are really fading off...but If you still mind <div class="flash-messages afp-p-now"> <div class="flash">Test Question has been Updated! <a href="view_test_ques.php?tid=<?php echo $tid ?>">view</a> <span class="nof-close close"></span> </div> </div> Ajax function <script> $('.nof-close').click(function(){ $('.afp-p-now').fadeOut(); $('.afp-p-now').css('display','none'); }); … | |
Guys! I want to design a **Multi-lingual Translator** that can translate **english-french** **bulgarian-english** and vise versa. I would like to first ask; * that which one is the best for this program **(Python or Php)**. * How can I go about It. ***No API from Google or any related translator*** … ![]() | |
Re: A Do while Loop could be used here, get_browser's id. You will use cookies to remember the session of a user with an id | |
Re: I don't have any idea of Php to do such function but I think Python can do that through through scrapy. |