Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
41% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
9
Posts with Downvotes
8
Downvoting Members
8
9 Commented Posts
0 Endorsements
Ranked #1K
~13.2K People Reached
Favorite Tags
Member Avatar for shahai.ali

Go ahead and try this : /** * @static * @param $filename * @param bool $comma * @return bool|string */ public static function getFileExtension($filename, $comma = false) { if (strrpos($filename, '.')){ $extension = substr($filename, strrpos($filename, '.')); return $comma ? $extension : substr($extension, 1); } else return false; } Also, make …

Member Avatar for Robert1995
0
282
Member Avatar for doha786

Do this ... <?php $path= "http://localhost/tiffany/" ?> <script type="text/javascript" > var templateUrl = '<?php echo $path; ?>'; </script> <script type="text/javascript" src="<?php echo $path; ?>js/manuals.js"></script>

Member Avatar for doha786
0
265
Member Avatar for mhaselip

Please Design you table in MySQL Workbench, I bet most of the people here will really appreciate this and will actually be able to help you. I will personally come back in one hour, if you provide more information I'll help you out with an explication how to do it …

Member Avatar for mhaselip
0
221
Member Avatar for cussel

Your explanation skills are horrible, but, you can try this, we will consider that $information, if the array you've specified <?php // We consider by default the current page as 1 $current_page = (isset($_GET['page']) ? (int)$_GET['page'] : 1); // As we are using an unsorted array, and we want to …

Member Avatar for Robert1995
0
172
Member Avatar for shiva.thapa

You're not a developer right ? It would normally be a copy - paste job, depends on the code and how messed it is.

Member Avatar for diafol
0
122
Member Avatar for ismael ahm@d

Try sending files trough SMTP, here's a tip http://rusuandreirobert.com/blog/2012/05/swift-mailer-quick-usage/ . For basic emails without attachements that should do, but Swift Mailer supports sending emails with files, so just edit my class for your needs

Member Avatar for urtrivedi
0
174
Member Avatar for shanboy

name="upload" remove that from form params. Not sure if this is the problem, but worth a try

Member Avatar for shanboy
0
269
Member Avatar for Robert1995

Hello everyone. I want to do this. I have a website for example www.rusuandreirobert.com . I want to create via PHP an email address 3rrgtbf@rusuandreirobert.com . I don't want to use this : http://$cpuser:$cppass@$cpdomain:2082/frontend/$cpskin/mail/doaddpop.html?email=$euser&domain=$edomain&password=$epass&quota=$equota Cheers, Robert

Member Avatar for pritaeas
0
58
Member Avatar for Transcendent

The best solution to check if everything is filled out is via javascript, but I suggest using jQuery I have uploaded similar code here : http://codepad.org/nqc9vtOK Should be enough to figure out how to make your one work

Member Avatar for almostbob
0
187
Member Avatar for hamedx

Or create an extra table user_roles the user role table will be "extended" with another table role_permissions Think this is a clean concept. And role_pemissions will have something like ... module, controller or action if your application is MVC And another field permission_level, for example view/edit .Hope you get the …

Member Avatar for Robert1995
0
97
Member Avatar for vizz

Just get this one {URL SNIPPED} and problem solved, you seem like a bad coder so you should probably take a look how others done it before. Maybe i'll get rep- but who cares..

Member Avatar for vizz
0
290
Member Avatar for me!

creativity these days... Not sure if it will do the trick, didn't test [CODE] $hack = $match[0]; $cut = "<img"; $image_part = substr($hack,strlen($cut)); $your_image = $cut.'width="100px" height="150px" align="left"'.$image_part; [/CODE]

Member Avatar for me!
0
503
Member Avatar for cr7489

Let's make it the easy way.. Non case-sensitive [CODE] $text = "This is a kickass day.Damn...What a Day !"; $needle = "Day"; strtolower($text); strtolower($needle); $tokens = explode($needle, $text); $found = count($tokens); [/CODE] So $found is what you want to know, if i understood your problem correctly. Laters :)

Member Avatar for diafol
0
229
Member Avatar for Robert1995

Hello, I have a problem :), like everybody else here :P. Ok so I need to update a wordpress plugin from 2.5 to 3.3.Did anybody else had to do something similar ? Any tips are welcome. Also books about wordpress plugin development would help a lot :).Worth to mention that …

Member Avatar for iamthwee
0
65
Member Avatar for mehrantahir

[URL="http://www.w3schools.com/sql/sql_where.asp"]http://www.w3schools.com/sql/sql_where.asp[/URL] [CODE]$sql = 'SELECT * FROM Products WHERE City = '.$city;[/CODE] $city is the dropdown thing . If you want a search by product name or description . [URL="http://www.w3schools.com/sql/sql_like.asp"]http://www.w3schools.com/sql/sql_like.asp[/URL]

Member Avatar for rayidi
0
166
Member Avatar for Cup of Squirrel
Member Avatar for mslade
1
2K
Member Avatar for apple621

Well , you can either copy it or learn it , because i did this for you. [B]What does this do?[/B] I am going to vector all the answers possible , after that will read a number as a char . [I]Why ? Because i will use the [URL="http://www.cplusplus.com/doc/tutorial/ntcs/"]char[/URL] elements …

Member Avatar for programing
0
127
Member Avatar for mmgoicochea
Member Avatar for mmgoicochea
0
445
Member Avatar for Robert1995

Heya , I was thinking of making a site opener application :). But I had a lots of problems . The next problem is facing this , it just crashes.:( [B]What do I want my program to do ?[/B] I want to assign a nickname for each of my favorite …

Member Avatar for Robert1995
0
200
Member Avatar for VERMUNDr

update the code -,-? i tried it 5 minutes ago and it still has those compile errors

Member Avatar for Robert1995
0
179
Member Avatar for Robert1995

Hello , I'm just amazed how strong php is , but i don't have an idea where to start , I mastered c++ at a command promp level + kinda average at visual c++ . If some1 could give me some sites or tutorials ? And is code igniter a …

Member Avatar for colweb
0
80
Member Avatar for tallygal

Let's think it another way :) you do something like this : Go into a while loop till end of file { Read the name do another loop(till new line) { array[++i]; } } think this should work

Member Avatar for WaltP
0
204
Member Avatar for Fenlevi

A square number is , a number that can be wrote x^2.For Ex 4^2=16; How to check this? [B]1.[/B]Read the number , then do n=sqrt(number); What does "sqrt" do?It simply returns Square root of x.[URL="http://www.cplusplus.com/reference/clibrary/cmath/sqrt/"]Click me for more information[/URL] ! Do not forget to use [U]#include <math.h>[/U] [B]2.[/B]Show the Answer …

Member Avatar for Robert1995
0
97
Member Avatar for smitysmit
Member Avatar for angel19
Member Avatar for myz068u

This should work [CODE]#include <iostream> using namespace std; int main() { char answ; cout << "Yes or No(y/n)" << endl; cin >> answ; switch(answ) { case 'y': cout << "Test" << endl;break; case 'Y':cout << "Test" << endl;break; case 'N':cout << "Ok" << endl;break; case 'n':cout << "Ok" << endl;break; …

Member Avatar for mrnutty
0
101
Member Avatar for sjgman420

Well , don't think a lot of people would be pleased for me telling you this but , I've done a similar card game , Black Jack How to make the pack; [CODE] #include <iostream> using namespace std; // Show the cards void display(long cards[53]){ int i; for(i=1;i<=cards[0];i++){ cout<<cards[i]<<" "; …

Member Avatar for Freaky_Chris
0
871
Member Avatar for muzamal

[URL="http://www.play-hookey.com/digital/adder.html"]Click This For Explanation on Binary Add[/URL] [URL="http://www.daniweb.com/code/snippet216351.html"]Dany Web Snippet about Binary Add[/URL]

Member Avatar for Robert1995
0
151
Member Avatar for Darkwarrior_331

First of all put this [CODE]fclose(pfile); fclose(pfile2);[/CODE] at the end ; I think that your program may work but only once , then [QUOTE]Does is crash? Does it melt the monitor?[/QUOTE] You've used a good idea , searching the word in the [B]espanol.txt[/B] then you showed the same line from …

Member Avatar for mattjbond
0
139
Member Avatar for Pynolathgeen

[QUOTE=Pynolathgeen;1182261]Hello, I created a fully working progress bar for my 2D Game patcher. I have a question, Is it possible to have an Image painted on the progress bar? I know its possible in VB but I wanna try it in C++. I could find any results using Google. Thanks![/QUOTE] …

Member Avatar for Pynolathgeen
0
209